Interface DataBuffer.ByteProcessor
- Enclosing interface:
- DataBuffer
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Process a range of bytes one by one.
- Since:
- 6.2.12
-
Method Summary
Modifier and TypeMethodDescriptionbooleanprocess(byte b) Process the givenbyteand indicate whether processing should continue further.
-
Method Details
-
process
boolean process(byte b) Process the givenbyteand indicate whether processing should continue further.- Parameters:
b- a byte from theDataBuffer- Returns:
trueif processing should continue, orfalseif processing should stop at this element
-