public interface ByteBufferFeeder extends NonBlockingInputFeeder
NonBlockingInputFeeder
implementation used when feeding data
as ByteBuffer
contents.Modifier and Type | Method and Description |
---|---|
void |
feedInput(java.nio.ByteBuffer buffer)
Method that can be called to feed more data, if (and only if)
NonBlockingInputFeeder.needMoreInput() returns true. |
endOfInput, needMoreInput
void feedInput(java.nio.ByteBuffer buffer) throws java.io.IOException
NonBlockingInputFeeder.needMoreInput()
returns true.buffer
- Buffer that contains additional input to readjava.io.IOException
- if the state is such that this method should not be called
(has not yet consumed existing input data, or has been marked as closed)Copyright © 2010 - 2020 Adobe. All Rights Reserved