Closed
Description
@phoddie expressed a desire for this API to support streaming or some other multi-shot API. Let's use this issue to discuss what that might look like.
Note that there is also a WHATWG proposal for base64 encoding. Currently that proposal does not include streaming, with the comment
this could be later implemented in a
BinaryEncoderStream
/BinaryDecoderStream
, or using the same synchronous API as text encoding, using astream: true
option on theencode
/decode
methods.
For prior art, see the stream
option in the TextDecoder API, the encodeInto
method in the TextEncoder API, and the TextEncoderStream and TextDecoderStream APIs (which are transform streams).
Metadata
Metadata
Assignees
Labels
No labels