W3cubDocs

/Dart 2

Base64Encoder class

Base64 and base64url encoding converter.

Encodes lists of bytes using base64 or base64url encoding.

The results are ASCII strings using a restricted alphabet.

Inheritance

Constructors

Base64Encoder()
const
Base64Encoder.urlSafe()
const

Properties

hashCodeint
read-only, inherited
The hash code for this object. [...]
runtimeTypeType
read-only, inherited
A representation of the runtime type of the object.

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<List<int>> stream) → Stream<String>
inherited
Transforms the provided stream. [...]
cast<RS, RT>() → Converter<RS, RT>
inherited
Provides a Converter<RS, RT> view of this stream transformer. [...]
fuse<TT>(Converter<String, TT> other) → Converter<List<int>, TT>
inherited
Fuses this with other. [...]
noSuchMethod(Invocation invocation) → dynamic
inherited
Invoked when a non-existent method or property is accessed. [...]
toString() → String
inherited
Returns a string representation of this object.

Operators

operator ==(dynamic other) → bool
inherited
The equality operator. [...]

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/2.0.0/dart-convert/Base64Encoder-class.html