(package private) int |
BaseNCodec.available(BaseNCodec.Context context) |
Returns the amount of buffered data available for reading.
|
private void |
Base58.convertFromBase58(byte[] base58,
BaseNCodec.Context context) |
Converts Base58 encoded data to binary.
|
private byte[] |
Base58.convertToBase58(byte[] accumulate,
BaseNCodec.Context context) |
Converts accumulated binary data to Base58 encoding.
|
(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 |
Base58.decode(byte[] array,
int offset,
int length,
BaseNCodec.Context context) |
Decodes the given Base58 encoded data.
|
(package private) void |
Base64.decode(byte[] input,
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[] array,
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 |
Base58.encode(byte[] array,
int offset,
int length,
BaseNCodec.Context context) |
Encodes the given binary data as Base58.
|
(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[] array,
int i,
int length,
BaseNCodec.Context context) |
|
protected byte[] |
BaseNCodec.ensureBufferSize(int size,
BaseNCodec.Context context) |
Ensures that the buffer has room for size bytes
|
(package private) boolean |
BaseNCodec.hasData(BaseNCodec.Context context) |
Tests whether this object has buffered data for reading.
|
(package private) int |
BaseNCodec.readResults(byte[] b,
int position,
int available,
BaseNCodec.Context context) |
Reads 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 Base32 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 Base64 values.
|