You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@royale.apache.org by Hugo Ferreira <hf...@gmail.com> on 2022/10/04 12:31:14 UTC
Uncompress
Hi,
There is already an alternative today for: uncompress(CompressionAlgorithm.
LZMA) (from ByteArray or better BinaryData) ?
Re: Uncompress
Posted by Hugo Ferreira <hf...@gmail.com>.
Thank you.
I always forget that Apache Royale it's a "superset" of JS, so everything
that runs on JS, runs on Apache Royale.
Harbs <ha...@gmail.com> escreveu no dia terça, 4/10/2022 à(s) 14:41:
>
> https://stackoverflow.com/questions/36185110/is-there-a-way-to-use-browsers-native-gzip-decompression-using-javascript
> <
> https://stackoverflow.com/questions/36185110/is-there-a-way-to-use-browsers-native-gzip-decompression-using-javascript
> >
>
> tl;dr
>
> For full browser support use pako. https://github.com/nodeca/pako
>
> For Chromium you can use
> https://developer.mozilla.org/en-US/docs/Web/API/Compression_Streams_API
>
> > On Oct 4, 2022, at 3:31 PM, Hugo Ferreira <hf...@gmail.com>
> wrote:
> >
> > Hi,
> >
> > There is already an alternative today for:
> uncompress(CompressionAlgorithm.
> > LZMA) (from ByteArray or better BinaryData) ?
>
>
Re: Uncompress
Posted by Harbs <ha...@gmail.com>.
https://stackoverflow.com/questions/36185110/is-there-a-way-to-use-browsers-native-gzip-decompression-using-javascript <https://stackoverflow.com/questions/36185110/is-there-a-way-to-use-browsers-native-gzip-decompression-using-javascript>
tl;dr
For full browser support use pako. https://github.com/nodeca/pako
For Chromium you can use https://developer.mozilla.org/en-US/docs/Web/API/Compression_Streams_API
> On Oct 4, 2022, at 3:31 PM, Hugo Ferreira <hf...@gmail.com> wrote:
>
> Hi,
>
> There is already an alternative today for: uncompress(CompressionAlgorithm.
> LZMA) (from ByteArray or better BinaryData) ?