Dart API Reference
dart:io
SystemEncoding
SystemEncoding
class
The system encoding is the current code page on Windows and UTF-8 on Linux and Mac.
The system encoding is the current code page on Windows and UTF-8 on Linux and Mac.
Extends:
Encoding
Codec
<
String
,
List
<
int
>>
Object
Constructors
SystemEncoding
( )
const
Instance Properties
name
String
read-only
encoder
Converter
<
String
,
List
<
int
>>
read-only
decoder
Converter
<
List
<
int
>,
String
>
read-only
inverted
Codec
<
List
<
int
>,
String
>
Inherited
read-only
inverted
Codec
<
List
<
int
>,
String
>
Inherited
read-only
Instance Methods
encode
(
String
input
) →
List
<
int
>
decode
(
List
<
int
>
encoded
) →
String
fuse
Inherited
(
Codec
<
List
<
int
>>
other
) →
Codec
<
String
>
Fuses this with other.
decodeStream
Inherited
(
Stream
<
List
<
int
>>
byteStream
) →
Future
<
String
>
fuse
Inherited
(
Codec
<
List
<
int
>>
other
) →
Codec
<
String
>
Fuses this with other.