standard constant

Base64Codec const standard

Codec instance to encode and decode 8-bit integer sequence to 6-bit Base-64 character sequence using the alphabet described in RFC-4648:

ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/

It is padded with =

Implementation

static const Base64Codec standard = Base64Codec._(
  encoder: AlphabetEncoder(
    bits: 6,
    padding: _padding,
    alphabet: _base64EncodingRfc4648,
  ),
  decoder: AlphabetDecoder(
    bits: 6,
    padding: _padding,
    alphabet: _base64DecodingRfc4648,
  ),
);