@Override default int readUnsignedShort(S handle, long offset) { return handle.readUnsignedShort(offset); }
@Override default int readUnsignedShort(S handle, long offset) { return handle.readUnsignedShort(offset); }
/** * Read an unsigned int at an offset * * @param offset to read * @return the int * @throws BufferUnderflowException if the offset is outside the limits of the Bytes */ default int readUnsignedInt24(long offset) throws BufferUnderflowException { return readUnsignedShort(offset) | (readUnsignedByte(offset) << 16); }