Uses of Class
org.apache.commons.codec.binary.BaseNCodec.Context
Packages that use BaseNCodec.Context
Package
Description
Base64, Base32, Binary, and Hexadecimal String encoding and decoding.
-
Uses of BaseNCodec.Context in org.apache.commons.codec.binary
Fields in org.apache.commons.codec.binary declared as BaseNCodec.ContextModifier and TypeFieldDescriptionprivate final BaseNCodec.Context
BaseNCodecInputStream.context
private final BaseNCodec.Context
BaseNCodecOutputStream.context
Methods in org.apache.commons.codec.binary with parameters of type BaseNCodec.ContextModifier and TypeMethodDescription(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[] 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[] 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 forsize
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) Increases our buffer by theBaseNCodec.DEFAULT_BUFFER_RESIZE_FACTOR
.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.