ByteBuf.readShort

Gets a 16-bit short integer at the current {@code readerIndex} and increases the {@code readerIndex} by {@code 2} in this buffer.

@throws IndexOutOfBoundsException if {@code this.readableBytes} is less than {@code 2}

class ByteBuf
abstract
short
readShort
()

Meta