io.AsciiCodec class API Spec is incomplete #31828
Labels
area-core-library
SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries.
library-convert
type-documentation
A request to add or improve documentation
Dart API specification for io.AsciiCodec class is incomplete:
Encoders will not accept invalid (non Latin-1) characters.
It seems like it should be
Encoders will not accept invalid (non **ASCII**) characters.
AsciiDecoder decoder
description reads:It's not clear what are
T
andS
here and the second clause should be changed to:AsciiEncoder encoder
- the same as for the previous point.String name Name of the encoding
description reads:If the encoding is standardized, this is the lower-case version of one of the IANA official names for the character set (see http://www.iana.org/assignments/character-sets/character-sets.xml)
But probably it would be better just to write that name should be
us-ascii
here.decodeStream
andencode
methods.The text was updated successfully, but these errors were encountered: