Builder

A Builder

See also

Constructors

Link copied to clipboard
constructor()
constructor(other: Base64.Config?)

Functions

Link copied to clipboard
fun backFillBuffers(enable: Boolean): Base64.Builder

DEFAULT: true

Link copied to clipboard
fun build(): Base64

Commits configured options to Config, creating the Base64 instance.

Link copied to clipboard
fun encodeUrlSafe(enable: Boolean): Base64.Builder

DEFAULT: false

Link copied to clipboard
fun isLenient(enable: Boolean): Base64.Builder

DEFAULT: true

Link copied to clipboard
fun lineBreak(interval: Byte): Base64.Builder

DEFAULT: 0 (i.e. disabled)

Link copied to clipboard
fun lineBreakReset(onFlush: Boolean): Base64.Builder

DEFAULT: true

Link copied to clipboard
fun padEncoded(enable: Boolean): Base64.Builder

DEFAULT: true

Link copied to clipboard

Helper for configuring the builder with settings which are compliant with the RFC 4648 specification.