public class ConcatenatingByteArrayCollector extends BytesInput
| Constructor and Description |
|---|
ConcatenatingByteArrayCollector() |
| Modifier and Type | Method and Description |
|---|---|
void |
collect(BytesInput bytesInput) |
String |
memUsageString(String prefix) |
void |
reset() |
long |
size() |
void |
writeAllTo(OutputStream out)
writes the bytes into a stream
|
concat, concat, copy, empty, from, from, from, from, from, from, from, from, fromInt, fromUnsignedVarInt, fromUnsignedVarLong, fromZigZagVarInt, fromZigZagVarLong, toByteArray, toByteBuffer, toInputStreampublic void collect(BytesInput bytesInput) throws IOException
IOExceptionpublic void reset()
public void writeAllTo(OutputStream out) throws IOException
BytesInputwriteAllTo in class BytesInputout - an output streamIOException - if there is an exception writingpublic long size()
size in class BytesInputCopyright © 2018 The Apache Software Foundation. All rights reserved.