base64
Functions for working with base 64.
- Source:
- text.scala
Value members
Concrete methods
Converts a stream of base 64 text in to a stream of bytes.
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.
- Source:
- text.scala
Like decode but takes a base 64 alphabet. For example,
decodeWithAlphabet(Bases.Alphabets.Base64Url)
will decode URL compatible base 64.
Like decode but takes a base 64 alphabet. For example,
decodeWithAlphabet(Bases.Alphabets.Base64Url)
will decode URL compatible base 64.
- Source:
- text.scala
Encodes a byte stream in to a stream of base 64 text. The default base 64 alphabet is used by this pipe.
Encodes a byte stream in to a stream of base 64 text. The default base 64 alphabet is used by this pipe.
- Source:
- text.scala
Like encode but takes a base 64 alphabet. For example,
encodeWithAlphabet(Bases.Alphabets.Base64Url)
will encode URL compatible base 64.
Like encode but takes a base 64 alphabet. For example,
encodeWithAlphabet(Bases.Alphabets.Base64Url)
will encode URL compatible base 64.
- Source:
- text.scala