|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.codec.binary.BaseNCodec.Context
static class BaseNCodec.Context
Holds thread context so classes can be thread-safe. This class is not itself thread-safe; each thread must allocate its own copy.
Field Summary | |
---|---|
(package private) byte[] |
buffer
Buffer for streaming. |
(package private) int |
currentLinePos
Variable tracks how many characters have been written to the current line. |
(package private) boolean |
eof
Boolean flag to indicate the EOF has been reached. |
(package private) int |
ibitWorkArea
Place holder for the bytes we're dealing with for our based logic. |
(package private) long |
lbitWorkArea
Place holder for the bytes we're dealing with for our based logic. |
(package private) int |
modulus
Writes to the buffer only occur after every 3/5 reads when encoding, and every 4/8 reads when decoding. |
(package private) int |
pos
Position where next character should be written in the buffer. |
(package private) int |
readPos
Position where next character should be read from the buffer. |
Constructor Summary | |
---|---|
BaseNCodec.Context()
|
Method Summary | |
---|---|
java.lang.String |
toString()
Returns a String useful for debugging (especially within a debugger.) |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
int ibitWorkArea
long lbitWorkArea
byte[] buffer
int pos
int readPos
boolean eof
int currentLinePos
int modulus
Constructor Detail |
---|
BaseNCodec.Context()
Method Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |