sciencesakura / mutf-8

An encoder/decoder for Modified UTF-8 which is used in the Java platform such as the class file format and the object serialization.
MIT License
7 stars 1 forks source link

Add MUtf8EncoderStream and MUtf8DecoderStream #24

Open sciencesakura opened 4 months ago

sciencesakura commented 4 months ago

The WHATWG Encoding Standard has TextEncoderStream and TextDecoderStream interfaces as the streaming equivalent of TextEncoder and TextDecoder.

https://encoding.spec.whatwg.org/

Mutf-8 should also implement the streaming equivalent of MUtf8Encoder and MUtf8Decoder for compatibility.