grib/src/main/java/ucar/nc2/grib/GribNumbers.java
public static int uint3(RandomAccessFile raf) throws IOException {
    int a = raf.read();
    int b = raf.read();
    int c = raf.read();

    return uint3(a, b, c);
  }
public static int uint3(RandomAccessFile raf) throws IOException {
    int a = raf.read();
    int b = raf.read();
    int c = raf.read();

    return uint3(a, b, c);
  }
Convert 3 bytes into an unsigned integer.

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