gwtproject / gwt-typedarrays

Apache License 2.0
6 stars 10 forks source link

Support for TextDecoder and TextEncoder #16

Open akbertram opened 3 years ago

akbertram commented 3 years ago

To work with Strings encoded in binary streams, the TextEncoder and TextDecoder are required.

Would it be useful to add definitions and JVM implementations to this library?

niloc132 commented 3 years ago

Yes, that would be welcome I think.

I thought that I had remembered that elemental2 had those classes, but I can't find them now. That seems like an even better place for them, since elemental2 has great TypedArray support, but providing the same implementation here would have the advantage of also offering JVM support for fast and easy test support for code which uses these classes.

Thanks!