ReadableBuffer.getShort

Reads two bytes from the buffer and returns them as an short value. The buffer position is advanced by two byes.

@return and short value composed of bytes read from the buffer.

@throws BufferUnderflowException if the buffer position has reached the limit.

interface ReadableBuffer
short
getShort
()

Meta