ByteBuf.readChar

Gets a 2-byte UTF-16 character 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
char
readChar
()

Meta