difference from crypto lib CryptoUtils.bytesToBase64:

  1. default to url filename safe base64
  2. allow byte array to have negative int -128 ~ -1
  3. custom line size and custom padding space

Constants

CR → int

13
LF → int

10
PAD → int

61
PLUS → int

43
SLASH → int

47
SP → int

32

Static Methods

decode(String input) → Uint8List

decodeString(String input) → String

encode(List<int> bytes, [ int lineSize = 0, int paddingSpace = 0 ]) → String

encodeString(String content, [ int lineSize = 0, int paddingSpace = 0 ]) → String

Constructors

Base64()

Properties

hashCode → int

The hash code for this object.

read-only, inherited
runtimeType → Type

A representation of the runtime type of the object.

read-only, inherited

Operators

operator ==(other) → bool

The equality operator.

inherited

Methods

noSuchMethod(Invocation invocation) → dynamic

Invoked when a non-existent method or property is accessed.

inherited
toString() → String

Returns a string representation of this object.

inherited