Package | Description |
---|---|
org.apache.commons.codec.binary |
Base64, Base32, Binary, and Hexadecimal String encoding and decoding.
|
Modifier and Type | Field and Description |
---|---|
private BaseNCodec.Context |
BaseNCodecInputStream.context |
private BaseNCodec.Context |
BaseNCodecOutputStream.context |
Modifier and Type | Method and Description |
---|---|
(package private) int |
BaseNCodec.available(BaseNCodec.Context context)
Returns the amount of buffered data available for reading.
|
(package private) void |
Base32.decode(byte[] in,
int inPos,
int inAvail,
BaseNCodec.Context context)
Decodes all of the provided data, starting at inPos, for inAvail bytes.
|
(package private) void |
Base64.decode(byte[] in,
int inPos,
int inAvail,
BaseNCodec.Context context)
Decodes all of the provided data, starting at inPos, for inAvail bytes.
|
(package private) abstract void |
BaseNCodec.decode(byte[] pArray,
int i,
int length,
BaseNCodec.Context context) |
(package private) void |
Base32.encode(byte[] in,
int inPos,
int inAvail,
BaseNCodec.Context context)
Encodes all of the provided data, starting at inPos, for inAvail bytes.
|
(package private) void |
Base64.encode(byte[] in,
int inPos,
int inAvail,
BaseNCodec.Context context)
Encodes all of the provided data, starting at inPos, for inAvail bytes.
|
(package private) abstract void |
BaseNCodec.encode(byte[] pArray,
int i,
int length,
BaseNCodec.Context context) |
protected byte[] |
BaseNCodec.ensureBufferSize(int size,
BaseNCodec.Context context)
Ensure that the buffer has room for
size bytes |
(package private) boolean |
BaseNCodec.hasData(BaseNCodec.Context context)
Returns true if this object has buffered data for reading.
|
(package private) int |
BaseNCodec.readResults(byte[] b,
int bPos,
int bAvail,
BaseNCodec.Context context)
Extracts buffered data into the provided byte[] array, starting at position bPos, up to a maximum of bAvail
bytes.
|
private byte[] |
BaseNCodec.resizeBuffer(BaseNCodec.Context context)
Increases our buffer by the
BaseNCodec.DEFAULT_BUFFER_RESIZE_FACTOR . |