ByteBuf.getChar

Gets a 2-byte UTF-16 character at the specified absolute {@code index} in this buffer. This method does not modify {@code readerIndex} or {@code writerIndex} of this buffer.

@throws IndexOutOfBoundsException if the specified {@code index} is less than {@code 0} or {@code index + 2} is greater than {@code this.capacity}

class ByteBuf
abstract
char
getChar
(
int index
)

Meta