readInt16BigEndian method

int readInt16BigEndian()

Implementation

int readInt16BigEndian()
{
    int value = readInt16();
    int b1 = 0xFF & (value >> 0);
    int b2 = 0xFF & (value >> 8);
    return ((b1 << 8) | b2);
}