| Modifier and Type | Class and Description |
|---|---|
| public static class | FlexBase64.
Controls the decoding process. |
| public static class | FlexBase64.
An input stream which decodes bytes as they are read from a stream with Base64 encoded data. |
| public static class | FlexBase64.
An output stream which decodes base64 data written to it, and writes the decoded output to the wrapped inner stream. |
| public static class | FlexBase64.
Controls the encoding process. |
| public static class | FlexBase64.
An input stream which encodes bytes as they are read from a stream. |
| public static class | FlexBase64.
An output stream which base64 encodes all passed data and writes it to the wrapped target output stream. |
| Modifier and Type | Field and Description |
|---|---|
| private static final byte[] | |
| private static final byte[] | |
| private static final Constructor | |
| private static final byte[] | |
| private static final byte[] |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static FlexBase64. | |
| public static FlexBase64. | Returns: a decoded input stream instance.an input source to read from source, int the chunk size to buffer before when reading from the target bufferSize)Creates an InputStream wrapper which decodes a base64 input source into the decoded content as it is read, until the source hits EOF. |
| public static FlexBase64. | Returns: a decoded input stream instance.an input source to read from source)Creates an InputStream wrapper which decodes a base64 input source into the decoded content as it is read, until the source hits EOF. |
| public static FlexBase64. | Returns: a decoded output stream instance.the output stream to write decoded output to output, int the buffer size to buffer writes to bufferSize)Creates an OutputStream wrapper which decodes base64 content before writing to the passed OutputStream target. |
| public static FlexBase64. | Returns: a decoded output stream instance.the output stream to write decoded output to output)Creates an OutputStream wrapper which decodes base64 content before writing to the passed OutputStream target. |
| public static FlexBase64. | Returns: an createEncoder instancewhether or not to wrap at 76 characters with CRLF wrap)Creates a state driven base64 encoder. |
| public static FlexBase64. | Returns: an encoded input stream instance.an input source to read from source, int the chunk size to buffer from the source bufferSize, boolean whether or not the stream should wrap base64 output at 76 characters wrap)Creates an InputStream wrapper which encodes a source into base64 as it is read, until the source hits EOF. |
| public static FlexBase64. | Returns: an encoded input stream instance.an input source to read from source)Creates an InputStream wrapper which encodes a source into base64 as it is read, until the source hits EOF. |
| public static FlexBase64. | Returns: an encoded output stream instance.an output target to write to target, int the chunk size to buffer before writing to the target bufferSize, boolean whether or not the stream should wrap base64 output at 76 characters wrap)Creates an OutputStream wrapper which base64 encodes and writes to the passed OutputStream target. |
| public static FlexBase64. | Returns: an encoded output stream instance.the output stream to write encoded output to output)Creates an OutputStream wrapper which base64 encodes and writes to the passed OutputStream target. |
| public static FlexBase64. | |
| public static FlexBase64. | Returns: an createEncoder instancewhether or not to wrap at 76 characters with CRLF wrap)Creates a state driven base64url encoder. |
| public static ByteBuffer | |
| public static ByteBuffer | Returns: a byte buffer containing the decoded outputthe Base64 content to decode source)Decodes a Base64 encoded byte buffer into a new byte buffer. |
| public static ByteBuffer | Returns: a byte buffer containing the decoded outputthe Base64 content to decode source, int position to start decoding from in source off, int position to stop decoding in source (exclusive) limit)Decodes a Base64 encoded byte array into a new byte buffer. |
| public static ByteBuffer | |
| public static ByteBuffer | Returns: a byte buffer containing the decoded outputthe Base64 content to decode source)Decodes a Base64url encoded byte buffer into a new byte buffer. |
| public static ByteBuffer | Returns: a byte buffer containing the decoded outputthe Base64url content to decode source, int position to start decoding from in source off, int position to stop decoding in source (exclusive) limit)Decodes a Base64url encoded byte array into a new byte buffer. |
| public static byte[] | Returns: a new byte array containing the encoded ASCII valuesthe byte array to encode from source, int the position to start encoding at pos, int the position to halt encoding at (exclusive) limit, boolean whether or not to wrap at 76 characters with CRLFs wrap)Encodes a fixed and complete byte buffer into a Base64 byte array. |
| public static byte[] | Returns: a new byte array containing the encoded ASCII valuesthe byte array to encode from source, int the position to start encoding at pos, int the position to halt encoding at (exclusive) limit, boolean whether or not to wrap at 76 characters with CRLFs wrap)Encodes a fixed and complete byte buffer into a Base64url byte array. |
| public static String | Returns: a new String representing the Base64 outputthe byte array to encode from source, boolean whether or not to wrap the output at 76 chars with CRLFs wrap)Encodes a fixed and complete byte array into a Base64 String. |
| public static String | Returns: a new String representing the Base64 outputthe byte array to encode from source, int the position to start encoding from pos, int the position to halt encoding at (exclusive) limit, boolean whether or not to wrap the output at 76 chars with CRLFs wrap)Encodes a fixed and complete byte array into a Base64 String. |
| public static String | Returns: a new String representing the Base64 outputthe byte buffer to encode from source, boolean whether or not to wrap the output at 76 chars with CRLFs wrap)Encodes a fixed and complete byte buffer into a Base64 String. |
| public static String | Returns: a new String representing the Base64url outputthe byte array to encode from source, boolean whether or not to wrap the output at 76 chars with CRLFs wrap)Encodes a fixed and complete byte array into a Base64url String. |
| public static String | Returns: a new String representing the Base64url outputthe byte array to encode from source, int the position to start encoding from pos, int the position to halt encoding at (exclusive) limit, boolean whether or not to wrap the output at 76 chars with CRLFs wrap)Encodes a fixed and complete byte array into a Base64url String. |
| public static String | Returns: a new String representing the Base64url outputthe byte buffer to encode from source, boolean whether or not to wrap the output at 76 chars with CRLFs wrap)Encodes a fixed and complete byte buffer into a Base64url String. |