Parser.parse

<p> Parses the given {@code buffer} bytes and emit events to a {@link Listener}. </p> <p> When this method returns, the buffer may not be fully consumed, so invocations to this method should be wrapped in a loop: </p> <p> <pre> while (buffer.hasRemaining()) parser.parse(buffer); </pre>

@param buffer the buffer to parse

class Parser
void
parse
(
ByteBuffer buffer
)

Meta