Package cs1302.tracer.trace
Interface StreamDrainer.ByteConsumer
- Enclosing class:
StreamDrainer
- 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 streaming individual bytes with IO exceptions.
-
Method Summary
-
Method Details
-
accept
Consumes a single byte.- Parameters:
b- Byte value.- Throws:
IOException- On I/O failure.
-