ricea / encoding-streams

Human-readable patch to the streams specification to add support for ReadableStream
10 stars 4 forks source link

domintro wording tweaks #8

Closed domenic closed 6 years ago

domenic commented 6 years ago

Returns the result of running encoding’s decoder on the chunks written to writable. Chunks read from readable will always be strings.

I'd go with something that mentions the type here, e.g.

Returns a readable stream whose chunks are strings resulting from running encoding's decoder on the chunks written to writable.


I think a paragraph break before the "Typically this will be used" paragraphs might be nice.


Mentioning USVString in developer-facing documentation is probably not ideal. Just "string" is fine.