Java Unsigned Number Create unsigned8(byte b)

Here you can find the source of unsigned8(byte b)

Description

unsigned

License

Apache License

Declaration

public static int unsigned8(byte b) 

Method Source Code

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

public class Main {
    public static int unsigned8(byte b) {
        return b & 0xFF;
    }//  w  w w  . ja v  a 2 s  .  co m
}

Related

  1. unsigned(short value)
  2. unsigned16(short s)
  3. unsigned32ToBytes(long value)
  4. unsigned32ToInt(byte[] bytes)
  5. unsigned4BytesToInt(byte[] buf, int pos)
  6. unsigned_byte(byte b)
  7. unsignedAddOverflow(int operand1, int operand2)
  8. unsignedArrayCompareLex(byte[] a, byte[] b)
  9. unsignedArrayCompareLex(char[] a, char[] b)