dart:io
SystemEncoding class
The system encoding is the current code page on Windows and UTF-8 on Linux and Mac.
- Inheritance
Constructors
- SystemEncoding()
const
- Creates a const SystemEncoding. [...]
Properties
- decoder → Converter<List<int>, String>
read-only, override
- Returns the decoder of
this
, converting from List<int>
to String
. [...] - encoder → Converter<String, List<int>>
read-only, override
- Returns the encoder from
String
to List<int>
. [...] - name → String
read-only, override
- Name of the encoding. [...]
- 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.
Methods
- decode(List<int> encoded) → String
override
- Decodes
encoded
data. [...] - encode(String input) → List<int>
override
- 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. [...]