Java Byte to Unsigned Int byteToUnsignedByte(byte b)

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

Description

byte To Unsigned Byte

License

Open Source License

Declaration

private static short byteToUnsignedByte(byte b) 

Method Source Code

//package com.java2s;

public class Main {
    private static short byteToUnsignedByte(byte b) {
        return (short) (b & 0xff);
    }//from ww w. j  a v a2s.c  o  m
}

Related

  1. byteToul(byte b)
  2. byteToUnInt(Byte sByte)
  3. byteToUnsigned(byte b)
  4. byteToUnsigned(byte b)
  5. byteToUnsigned(byte signed)
  6. byteToUnsignedint(byte b)
  7. byteToUnsignedInt(byte b)
  8. byteToUnsignedInt(final byte b)
  9. byteToUnsignedLong(byte data)