Base64Encoder class
Converts a list of bytes into a Base 64 encoded string.
The list can be any list of integers in the range 0..255, for example a message digest.
If addLineSeparator is true, the resulting string will be broken into lines of 76 characters, separated by "\r\n".
If urlSafe is true, the result is URL and filename safe.
Based on RFC 4648
Constructors
- Base64Encoder([bool urlSafe = false, bool addLineSeparator = false])
-
const
Properties
- addLineSeparator → bool
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- urlSafe → bool
-
final
Methods
-
bind(
Stream< List< stream) → Stream<int> >String> -
Transforms the provided
stream
.inherited -
cast<
RS, RT> () → Converter< RS, RT> -
Provides a
Converter<RS, RT>
view of this stream transformer.inherited -
convert(
List< int> bytes) → String -
Converts
input
and returns the result of the conversion.override -
fuse<
TT> (Converter< String, TT> other) → Converter<List< int> , TT> -
Fuses
this
withother
.inherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
startChunkedConversion(
Sink< String> sink) → Sink<List< int> > -
Starts a chunked conversion.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited