- encode
Encodes all of the provided data, starting at inPos, for inAvail bytes. Must be
called at least twi
- encodeBase64
Encodes binary data using the base64 algorithm, optionally chunking the output
into 76 character blo
- decode
Decodes all of the provided data, starting at inPos, for inAvail bytes. Should
be called at least t
- <init>
Consumer can use this constructor to choose a different lineLength and
lineSeparator when encoding.
- avail
Returns the amount of buffered data available for reading.
- containsBase64Byte
- isBase64
Returns whether or not the octet is in the base 64 alphabet.
- isWhiteSpace
Check if a byte value is whitespace or not.
- readResults
Extracts buffered data into the provided byte[] array, starting at position
bPos, up to a maximum of
- resizeBuf
Doubles our buffer.
- setInitialBuffer
Small optimization where we try to buffer directly to the consumer's output
array for one round (if
- toIntegerBytes
Returns a byte-array representation of a BigInteger without sign bit.