grib/src/main/java/ucar/nc2/grib/GribNumbers.java
public static int uint(RandomAccessFile raf) throws IOException {
     int a = raf.read();
     return (int) DataType.unsignedByteToShort((byte) a);
   }
public static int uint(RandomAccessFile raf) throws IOException {
     int a = raf.read();
     return (int) DataType.unsignedByteToShort((byte) a);
   }
Convert unsigned bytes into an integer.

@param raf read one byte from here
@return integer value
@throws IOException on read error