@FunctionalInterface public interface BytesConsumer
BytesOut instance.
Implementations typically pull data from a queue or ring buffer.| Modifier and Type | Method and Description |
|---|---|
boolean |
read(BytesOut<?> bytes)
Attempts to pull data from the source into
bytes. |
boolean read(BytesOut<?> bytes) throws BufferOverflowException
bytes.bytes - destination for the consumed data, positioned for writingtrue if bytes were written, false if no data was availableBufferOverflowException - if bytes lacks capacity for the read dataCopyright © 2026 Chronicle Software Ltd. All rights reserved.