@FunctionalInterface public interface BytesConsumer
Modifier and Type | Method and Description |
---|---|
boolean |
read(BytesOut<?> bytes)
Retrieves and removes the head of this queue, or returns
true if this queue is
empty. |
boolean read(BytesOut<?> bytes) throws BufferOverflowException
true
if this queue is
empty.bytes
- to read intoBufferOverflowException
Copyright © 2023. All rights reserved.