Java Unsigned Number Create unsignedByteToInt(byte b)

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

Description

unsigned Byte To Int

License

Open Source License

Declaration

private static int unsignedByteToInt(byte b) 

Method Source Code

//package com.java2s;
//License from project: GNU General Public License 

public class Main {
    private static int unsignedByteToInt(byte b) {
        return b & 0xff;
    }// ww  w.  ja v a 2  s .c o m
}

Related

  1. unsignedBinarySearch(final short[] array, final int begin, final int end, final short k)
  2. unsignedByte(int b)
  3. unsignedByteFromInt(int i)
  4. unsignedBytesToInts(Byte[] bytes)
  5. unsignedByteToInt(byte b)
  6. unsignedByteToInt(byte in)
  7. unsignedByteToInt(final byte b)
  8. unsignedByteToIntArray(byte[] bytes)
  9. unsignedByteToLong(final byte b)