<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>
<p> The HTTP/2 protocol parser. </p> <p> This parser makes use of the {@link HeaderParser} and of {@link BodyParser}s to parse HTTP/2 frames. </p>