ConcatenatingByteBufferCollector instead.@Deprecated public class ConcatenatingByteArrayCollector extends BytesInput
BytesInput objects.| Constructor and Description |
|---|
ConcatenatingByteArrayCollector()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
collect(BytesInput bytesInput)
Deprecated.
|
String |
memUsageString(String prefix)
Deprecated.
|
void |
reset()
Deprecated.
|
long |
size()
Deprecated.
|
void |
writeAllTo(OutputStream out)
Deprecated.
writes the bytes into a stream
|
void |
writeInto(ByteBuffer buffer)
Deprecated.
For internal use only.
|
concat, concat, copy, copy, copy, empty, from, from, from, from, from, from, from, from, fromInt, fromUnsignedVarInt, fromUnsignedVarLong, fromZigZagVarInt, fromZigZagVarLong, toByteArray, toByteBuffer, toByteBuffer, toByteBuffer, toInputStreampublic ConcatenatingByteArrayCollector()
public 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 void writeInto(ByteBuffer buffer)
BytesInputBytesInput
object.public long size()
size in class BytesInputCopyright © 2023 The Apache Software Foundation. All rights reserved.