AsciiCodec class
An AsciiCodec allows encoding strings as ASCII bytes and decoding ASCII bytes to strings.
Constructors
-  AsciiCodec({bool allowInvalid = false}) const
 - Instantiates a new AsciiCodec. [...]
 
Properties
-  decoder → AsciiDecoder read-only, override
 -  Returns the decoder of 
this, converting fromList<int>toString. [...] -  encoder → AsciiEncoder read-only, override
 -  Returns the encoder from 
StringtoList<int>. [...] -  hashCode → int read-only, inherited
 - The hash code for this object. [...]
 -  inverted → Codec<
List< int> , String>read-only, inherited -  Inverts 
this. [...] -  name → String read-only, override
 - The name of this codec, "us-ascii".
 -  runtimeType → Type read-only, inherited
 - A representation of the runtime type of the object.
 
Methods
-  decode(
List< int> bytes, {bool? allowInvalid}) → Stringoverride -  Decodes the ASCII 
bytes(a list of unsigned 7-bit integers) to the corresponding string. [...] -  decodeStream(
Stream< List< byteStream) → Future<int> >String> inherited -  encode(
String source) → Uint8List override -  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. [...]
 
    © 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
    https://api.dart.dev/stable/2.13.0/dart-convert/AsciiCodec-class.html