Base64
Provides Base64 encoding and decoding functionality.
This class is not supposed to be instantiated or inherited. However, predefined instances of this class are available for use. The companion object Base64.Default is the default instance of Base64. There are also Base64.UrlSafe and Base64.Mime instances.
Since Kotlin
1.8Inheritors
Types
The "base64" encoding specified by RFC 4648 section 4
, Base 64 Encoding.
Functions
Decodes symbols from the specified source array or its subrange and writes resulting bytes into the destination array. Returns the number of bytes written.
Decodes symbols from the specified source char sequence or its substring and writes resulting bytes into the destination array. Returns the number of bytes written.
Encodes bytes from the specified source array or its subrange and writes resulting symbols into the destination array. Returns the number of symbols written.
Encodes bytes from the specified source array or its subrange and appends resulting symbols to the destination appendable. Returns the destination appendable.