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.

Operators

operator ==(other) → bool
inherited

The equality operator.

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.

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.

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