protected static class BaseNCodec.Context extends Object
This class is not itself thread-safe; each thread must allocate its own copy.
| 限定符和类型 | 字段和说明 |
|---|---|
byte[] |
buffer
Buffer for streaming.
|
int |
currentLinePos
Variable tracks how many characters have been written to the current line.
|
boolean |
eof
Boolean flag to indicate the EOF has been reached.
|
int |
ibitWorkArea
Place holder for the bytes we're dealing with for our based logic.
|
long |
lbitWorkArea
Place holder for the bytes we're dealing with for our based logic.
|
int |
modulus
Writes to the buffer only occur after every 3/5 reads when encoding, and every 4/8 reads when decoding.
|
int |
pos
Position where next character should be written in the buffer.
|
int |
readPos
Position where next character should be read from the buffer.
|
public int ibitWorkArea
public long lbitWorkArea
public byte[] buffer
public int pos
public int readPos
public boolean eof
public int currentLinePos
public int modulus
Copyright © 2020. All rights reserved.