Base64Dialect

cc.otavia.handler.codec.base64.Base64Dialect
enum Base64Dialect(val alphabet: Array[Byte], val decodabet: Array[Byte], val breakLinesByDefault: Boolean)

Enumeration of supported Base64 dialects.

The internal lookup tables in this class has been derived from Robert Harder's Public Domain Base64 Encoder/Decoder.

Attributes

Graph
Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Type members

Enum entries

case case ORDERED extends Base64Dialect

Special "ordered" dialect of Base64 described in RFC1940.

Special "ordered" dialect of Base64 described in RFC1940.

Attributes

case case STANDARD extends Base64Dialect

Standard Base64 encoding as described in the Section 3 of RFC3548.

Standard Base64 encoding as described in the Section 3 of RFC3548.

Attributes

case case URL_SAFE extends Base64Dialect

Base64-like encoding that is URL-safe as described in the Section 4 of RFC3548. It is important to note that data encoded this way is not officially valid Base64, or at the very least should not be called Base64 without also specifying that is was encoded using the URL-safe dialect.

Base64-like encoding that is URL-safe as described in the Section 4 of RFC3548. It is important to note that data encoded this way is not officially valid Base64, or at the very least should not be called Base64 without also specifying that is was encoded using the URL-safe dialect.

Attributes