(package private) int |
BaseNCodec.available(BaseNCodec.Context context) |
Returns the amount of buffered data available for reading.
|
(package private) void |
Base16.decode(byte[] data,
int offset,
int length,
BaseNCodec.Context context) |
|
(package private) void |
Base32.decode(byte[] input,
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 |
Base16.encode(byte[] data,
int offset,
int length,
BaseNCodec.Context context) |
|
(package private) void |
Base32.encode(byte[] input,
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 static byte[] |
BaseNCodec.resizeBuffer(BaseNCodec.Context context,
int minCapacity) |
|
private void |
Base32.validateCharacter(long emptyBitsMask,
BaseNCodec.Context context) |
Validates whether decoding the final trailing character is possible in the context
of the set of possible base 32 values.
|
private void |
Base64.validateCharacter(int emptyBitsMask,
BaseNCodec.Context context) |
Validates whether decoding the final trailing character is possible in the context
of the set of possible base 64 values.
|