Encoding class
Open-ended Encoding enum.
- Inheritance
- Implementers
Constructors
- Encoding() const
Properties
- decoder → Converter<
List< int> , String>read-onlyoverride - Returns the decoder of
this, converting fromList<int>toString. - encoder → Converter<
String, List< int> >read-onlyoverride - Returns the encoder from
StringtoList<int>. - hashCode → int read-onlyinherited
- The hash code for this object.
- inverted → Codec<
List< int> , String>read-onlyinherited - Inverts
this. - name → String read-only
- Name of the encoding.
- runtimeType → Type read-onlyinherited
- A representation of the runtime type of the object.
Methods
- decode(
List< int> encoded) → Stringinherited - Decodes
encodeddata. - decodeStream(
Stream< List< byteStream) → Future<int> >String> - encode(
String input) → List< int> inherited - Encodes
input. - fuse<
R> (Codec< List< other) → Codec<int> , R>String, R> inherited - Fuses
thiswithother. - noSuchMethod(
Invocation invocation) → dynamic inherited - Invoked when a non-existent method or property is accessed.
- toString(
) → String inherited - A string representation of this object.
Operators
- operator ==(
Object other) → bool inherited - The equality operator.
Static Methods
- getByName(
String? name) → Encoding? - Returns an Encoding for a named character set.
© 2012 the Dart project authors
Licensed under the BSD 3-Clause "New" or "Revised" License.
https://api.dart.dev/stable/2.19.6/dart-convert/Encoding-class.html