public class IntZigzagEncoder extends Encoder
MAX_POINT_NUMBER, MAX_STRING_LENGTH| Constructor and Description |
|---|
IntZigzagEncoder() |
| Modifier and Type | Method and Description |
|---|---|
void |
encode(int 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.
|
public void encode(int 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.