ReadableBuffer.opCmp

Decodes a String from the buffer using the provided {@link CharsetDecoder} starting the decode at the current position and reading until the limit is reached. The position is advanced to the limit once this method returns. If there is no bytes remaining in the buffer when this method is called a null is returned.

@return a string decoded from the remaining bytes in this buffer.

@throws CharacterCodingException if the encoding is invalid for any reason.

interface ReadableBuffer
int
opCmp

Meta