Package-level declarations

Types

Link copied to clipboard
expect object Base64 : Encoder

Cross-platform utilities for encoding and decoding to/from Base64.

actual object Base64 : Encoder

Cross-platform utilities for encoding and decoding to/from Base64.

Link copied to clipboard
object Base64Kt

This class consists exclusively of static methods for obtaining encoders and decoders for the Base64 encoding scheme. The implementation of this class supports the following types of Base64 as specified in RFC 4648 and RFC 2045.

Link copied to clipboard
interface Encoder

Specifies the expected API interface for an encoding tool, which is capable of encoding data to a given format or expression, as well as decoding from that same format.

Link copied to clipboard

Enumerates supported encodings and binds Encoder instances to each.

Link copied to clipboard
object Hex : Encoder

Provides cross-platform utilities for encoding values into hex, or decoding values from hex.

Link copied to clipboard
expect object UUID

UUID tools provided to all platforms.

actual object UUID

UUID tools provided to all platforms.

Functions

Link copied to clipboard

Encode the current ByteArray to a Base64 byte array, using the cross-platform Base64 tools.

Encode the current String to a Base64 byte array, using the cross-platform Base64 tools.

Link copied to clipboard

Encode the current ByteArray to a Base64 string, using the cross-platform Base64 tools.

Encode the current String to a Base64 string, using the cross-platform Base64 tools.

Link copied to clipboard

Encode the current String to a hex-encoded byte array, using the cross-platform Hex tools.

Link copied to clipboard

Encode the current String to a hex-encoded string, using the cross-platform Hex tools.