- decodeBase64
Decodes Base64 data into octets
- decode
Decodes all of the provided data, starting at inPos, for inAvail bytes. Should
be called at least t
- encodeBase64
Encodes binary data using the base64 algorithm, optionally chunking the output
into 76 character blo
- isBase64
Returns whether or not the octet is in the base 64 alphabet.
- discardNonBase64
Discards any characters outside of the base64 alphabet, per the requirements on
page 25 of RFC 2045
- discardWhitespace
Discards any whitespace from a base-64 encoded block.
- encodeBase64String
Encodes binary data using the base64 algorithm into 76 character blocks
separated by CRLF.
- <init>
Creates a Base64 codec used for decoding (all modes) and encoding in the given
URL-safe mode. When e
- avail
Returns the amount of buffered data available for reading.
- containsBase64Byte
Tests a given byte array to see if it contains only valid characters within the
Base64 alphabet.
- encodeBase64URLSafeString
Encodes binary data using a URL-safe variation of the base64 algorithm but does
not chunk the output
- getEncodeLength
Pre-calculates the amount of space needed to base64-encode the supplied array.