Base64 and base64url encoding converter.
Encodes lists of bytes using base64 or base64url encoding.
The results are ASCII strings using a restricted alphabet.
Constructors
- Base64Encoder()
-
const
- Base64Encoder.urlSafe()
-
const
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
Methods
-
convert(
List<int> input) → String -
Converts
input
and returns the result of the conversion. -
startChunkedConversion(
Sink<String> sink) → ByteConversionSink - Starts a chunked conversion. [...]
-
bind(
Stream<S> stream) → Stream<T> -
Transforms the provided
stream
. [...]inherited -
fuse<TT>(
Converter<T, TT> other) → Converter<S, TT> -
Fuses
this
withother
. [...]inherited -
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
Operators
-
operator ==(
other) → bool -
The equality operator. [...]
inherited