public interface ByteArrayFeeder extends NonBlockingInputFeeder
NonBlockingInputFeederimplementation used when feeding data as byte arrays.
|Modifier and Type||Method and Description|
Method that can be called to feed more data, if (and only if)
void feedInput(byte data, int offset, int end) throws IOException
data- Byte array that contains data to feed: caller must ensure data remains stable until it is fully processed (which is true when
offset- Offset within array where input data to process starts
end- Offset after last byte contained in the input array
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 © 2008–2021 FasterXML. All rights reserved.