base64

object base64
Functions for working with base 64.
class Object
trait Matchable
class Any

Value members

Methods

def decode[F <: ([_$12] =>> Any)](evidence$3: RaiseThrowable[F]): (F, String) => Byte
Converts a stream of base 64 text in to a stream of bytes.
If the text is not valid base 64, the pipe fails with an exception. Padding
characters at the end of the input stream are optional, but if present, must
be valid per the base 64 specification. Whitespace characters are ignored.
The default base 64 alphabet is used by this pipe.
def decodeWithAlphabet[F <: ([_$13] =>> Any)](alphabet: Base64Alphabet)(evidence$4: RaiseThrowable[F]): (F, String) => Byte
Like decode but takes a base 64 alphabet. For example,
decodeWithAlphabet(Bases.Alphabets.Base64Url) will decode URL compatible base 64.
def encode[F <: ([_$14] =>> Any)]: (F, Byte) => String
Encodes a byte stream in to a stream of base 64 text.
The default base 64 alphabet is used by this pipe.
def encodeWithAlphabet[F <: ([_$15] =>> Any)](alphabet: Base64Alphabet): (F, Byte) => String
Like encode but takes a base 64 alphabet. For example,
encodeWithAlphabet(Bases.Alphabets.Base64Url) will encode URL compatible base 64.