@FunctionalInterface public interface BytesConsumer
read for retrieving and removing the head of a queue into a given BytesOut object.| Modifier and Type | Method and Description |
|---|---|
boolean |
read(BytesOut<?> bytes)
Retrieves and removes the head of this queue, or returns
false if this queue is
empty. |
boolean read(BytesOut<?> bytes) throws BufferOverflowException
false if this queue is
empty.bytes - the BytesOut object to read into.false if this queue is empty, true otherwise.BufferOverflowException - if there is insufficient space left in the buffer.Copyright © 2023. All rights reserved.