SystemEncoding class
The system encoding is the current code page on Windows and UTF-8 on Linux and Mac.
Constructors
- SystemEncoding() const
Properties
- decoder → Converter<List<int>, String> read-only
- encoder → Converter<String, List<int>> read-only
- name → String read-only
- hashCode → int read-only, inherited
-
The hash code for this object.
- inverted → Codec<List<int>, String> read-only, inherited
-
Inverts
this
. - runtimeType → Type read-only, inherited
-
A representation of the runtime type of the object.
Operators
- operator ==(
other) → bool inherited -
The equality operator.
Methods
- decode(
List<int> encoded) → String - encode(
String input) → List<int> - decodeStream(
Stream<List<int>> byteStream) → Future<String> inherited - fuse<R>(
Codec<List<int>, R> other) → Codec<String, R> inherited -
Fuses
this
withother
. - 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-io/SystemEncoding-class.html