Java Unsigned Int Create toUnsignedInt(long value)

Here you can find the source of toUnsignedInt(long value)

Description

to Unsigned Int

License

Apache License

Declaration

public static long toUnsignedInt(long value) 

Method Source Code

//package com.java2s;
//License from project: Apache License 

public class Main {
    private static final long UNSIGNED_INT_MAX = 0xffffffffL;

    public static long toUnsignedInt(long value) {
        return value &= UNSIGNED_INT_MAX;
    }//  w ww  .j  a va2 s .co  m
}

Related

  1. toUnsignedInt(byte[] a)
  2. toUnsignedInt(char[] bytes, boolean le)
  3. toUnsignedInt(int i)
  4. toUnsignedInt(int value)
  5. toUnsignedInt(int value)
  6. toUnsignedInt(String string)
  7. toUnsignedInt16(byte[] bytes)
  8. toUnsignedInt32LittleEndian(byte[] bytes)
  9. toUnsignedIntArray(byte[] val)