Top Description Methods
tools.jackson.core.async

public Interface ByteBufferFeeder

extends NonBlockingInputFeeder
Known Direct Implementers
tools.jackson.core.json.async.NonBlockingByteBufferJsonParser
Imports
java.nio.ByteBuffer, tools.jackson.core.JacksonException

NonBlockingInputFeeder implementation used when feeding data as ByteBuffer contents.

Method Summary

Modifier and TypeMethod and Description
public void
feedInput(ByteBuffer
Buffer that contains additional input to read
buffer
)

Method that can be called to feed more data, if (and only if) NonBlockingInputFeeder#needMoreInput returns true.

Inherited from tools.jackson.core.async.NonBlockingInputFeeder:
endOfInputneedMoreInput

Method Detail

feedInputback to summary
public void feedInput(ByteBuffer buffer) throws JacksonException

Method that can be called to feed more data, if (and only if) NonBlockingInputFeeder#needMoreInput returns true.

Parameters
buffer:ByteBuffer

Buffer that contains additional input to read

Exceptions
JacksonException:
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)