Package com.amazon.ion
Interface BufferConfiguration.DataHandler
- Enclosing class:
BufferConfiguration<Configuration extends BufferConfiguration<Configuration>>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Functional interface for reporting processed data.
-
Method Summary
Modifier and TypeMethodDescriptionvoidonData(int numberOfBytes) Invoked whenever the bytes from a value are processed, regardless of whether the bytes are buffered or skipped due to the value being oversized.
-
Method Details
-
onData
void onData(int numberOfBytes) Invoked whenever the bytes from a value are processed, regardless of whether the bytes are buffered or skipped due to the value being oversized.- Parameters:
numberOfBytes- the number of bytes processed.
-