public interface ByteHoldingProcessor extends InputStreamProcessor
| Modifier and Type | Method and Description |
|---|---|
void |
flushBytePipeline()
Flushes partial bytes maintained by this stream processor
|
byte[] |
getBytePipeline()
Returns bytes which were left unprocessed in previous run.
|
boolean |
hasBytePipeline()
Returns true if this stream processor has unprocessed bytes.
|
process, processboolean hasBytePipeline()
Partial bytes are stored by stream processor and XMPPPacketReader
takes these bytes and appends these bytes before incoming bytes.We can
possibly do this append operation in stream processor where it belongs
naturally, but it would involve a massive array copy operation.
byte[] getBytePipeline()
void flushBytePipeline()
Copyright © 2019. All rights reserved.