W3cubDocs

/Dart 2

SystemEncoding class

The system encoding is the current code page on Windows and UTF-8 on Linux and Mac.

Inheritance

Constructors

SystemEncoding()
const

Properties

decoderConverter<List<int>, String>
read-only
encoderConverter<String, List<int>>
read-only
nameString
read-only
Name of the encoding. [...]
hashCodeint
read-only, inherited
The hash code for this object. [...]
invertedCodec<List<int>, String>
read-only, inherited
Inverts this. [...]
runtimeTypeType
read-only, inherited
A representation of the runtime type of the object.

Methods

decode(List<int> encoded) → String
Decodes encoded data. [...]
encode(String input) → List<int>
Encodes input. [...]
decodeStream(Stream<List<int>> byteStream) → Future<String>
inherited
fuse<R>(Codec<List<int>, R> other) → Codec<String, R>
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-io/SystemEncoding-class.html