Package-level declarations

API for encoding and decoding data using various encoding schemes, such as Base64.

API for encoding and decoding data using various encoding schemes, such as Base64.

Types

Link copied to clipboard

Provides Base64 encoding and decoding functionality. Base64 encoding, as defined by the RFC 4648 and a few other RFCs, transforms arbitrary binary data into a sequence of printable characters.

Since Kotlin 1.8

Functions

Link copied to clipboard

Returns an input stream that decodes symbols from this input stream using the specified base64 encoding. Please refer to Base64 documentation for more details on the encoding itself.

Since Kotlin 1.8
Link copied to clipboard

Returns an output stream that encodes bytes using the specified base64 encoding and writes the result to this output stream. Please refer to Base64 documentation for more details on the encoding itself.

Since Kotlin 1.8