public class LongZigzagEncoder extends Encoder
MAX_POINT_NUMBER, MAX_STRING_LENGTH| Constructor and Description |
|---|
LongZigzagEncoder() |
| Modifier and Type | Method and Description |
|---|---|
void |
encode(long value,
ByteArrayOutputStream out) |
void |
flush(ByteArrayOutputStream out)
Write all values buffered in memory cache to OutputStream.
|
long |
getMaxByteSize()
The maximal possible memory size occupied by current Encoder.
|
static String |
print(byte[] bytes) |
public static String print(byte[] bytes)
public void encode(long value,
ByteArrayOutputStream out)
public void flush(ByteArrayOutputStream out) throws IOException
Encoderflush in class Encoderout - - ByteArrayOutputStreamIOException - cannot flush to OutputStreampublic long getMaxByteSize()
EncodergetMaxByteSize in class EncoderCopyright © 2022 The Apache Software Foundation. All rights reserved.