public static interface QueueFile.ElementReader
| Modifier and Type | Method and Description |
|---|---|
void |
read(InputStream in,
int length)
Called once per element.
|
void read(InputStream in, int length) throws IOException
in - stream of element data. Reads as many bytes as requested,
unless fewer than the request number of bytes remains, in
which case it reads all the remaining bytes. Not buffered.length - of element data in bytesIOExceptionCopyright © 2014 Square, Inc.. All Rights Reserved.