Re: Uncompress

2022-10-04 Thread Hugo Ferreira
use > https://developer.mozilla.org/en-US/docs/Web/API/Compression_Streams_API > > > On Oct 4, 2022, at 3:31 PM, Hugo Ferreira > wrote: > > > > Hi, > > > > There is already an alternative today for: > uncompress(CompressionAlgorithm. > > LZMA) (from ByteArray or better BinaryData) ? > >

Re: Uncompress

2022-10-04 Thread Harbs
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 wrote: > > Hi, > > There is already an alternative today for: uncompress(CompressionAlgorithm. > LZMA) (

Uncompress

2022-10-04 Thread Hugo Ferreira
Hi, There is already an alternative today for: uncompress(CompressionAlgorithm. LZMA) (from ByteArray or better BinaryData) ?

Re: BinaryData compress/uncompress methods (like ByteArray) missing

2018-05-18 Thread Harbs
PathBuilder was designed to be drawing agnostic and the Graphics package is mostly interfaces. Theoretically, anything in Graphics should be usable with both SVG and Canvas implementations. The org.apache.royale.svg classes are SVG implementations and can be used within any Royale components.

Re: BinaryData compress/uncompress methods (like ByteArray) missing

2018-05-18 Thread Carlos Rovira
Thanks Harbs, to understand better about the code you said, this is done creating a Canvas where the drawing is done? If so what is the canvas component in Royale? I'll want to try that, if there's some example code in same place, please let me know. thanks! 2018-05-18 13:19 GMT+02:00 Harbs : >

Re: BinaryData compress/uncompress methods (like ByteArray) missing

2018-05-18 Thread Harbs
Take a look at the Graphics package. Specifically, PathBuilder lets you use commands very similar to Flash drawing commands. Also, CompoundGraphic in Basic offers a number of drawing commands. org.apache.royale.svg (in Basic) has many basic shape types which simplify drawing of those. I’ve us

Re: BinaryData compress/uncompress methods (like ByteArray) missing

2018-05-18 Thread Carlos Rovira
gt; > > I only mention it because it might provide a faster route for > getting > > some > > of the internal code inside the emulation classes that use > various > > native > > flash utils etc work. > > I ha

Re: BinaryData compress/uncompress methods (like ByteArray) missing

2018-05-17 Thread Alex Harui
> it > was not something that had been considered - I expect Joshua could > provide > a lot more detail about this if asked. > > > > > On Fri, May 18, 2018 at 9:18 AM, Alex Harui > wrote: > &

Re: BinaryData compress/uncompress methods (like ByteArray) missing

2018-05-17 Thread Greg Dove
se > it > was not something that had been considered - I expect Joshua could > provide > a lot more detail about this if asked. > > > > > On Fri, May 18, 2018 at 9:18 AM, Alex Harui > wrote: > > > IMO, because of PAYG, BinaryData should

Re: BinaryData compress/uncompress methods (like ByteArray) missing

2018-05-17 Thread Alex Harui
8, 2018 at 9:18 AM, Alex Harui wrote: > IMO, because of PAYG, BinaryData should not have compress/uncompress. > Feel free to create a BinaryDataWithZLib or something like that. > BinaryData has no requirement to fully replace ByteArray. The emulation > component

Re: BinaryData compress/uncompress methods (like ByteArray) missing

2018-05-17 Thread Greg Dove
t had been considered - I expect Joshua could provide a lot more detail about this if asked. On Fri, May 18, 2018 at 9:18 AM, Alex Harui wrote: > IMO, because of PAYG, BinaryData should not have compress/uncompress. > Feel free to create a BinaryDataWithZLib or something like that. >

Re: BinaryData compress/uncompress methods (like ByteArray) missing

2018-05-17 Thread Alex Harui
IMO, because of PAYG, BinaryData should not have compress/uncompress. Feel free to create a BinaryDataWithZLib or something like that. BinaryData has no requirement to fully replace ByteArray. The emulation components will probably have a better emulation of ByteArray. My 2 cents, -Alex

Re: BinaryData compress/uncompress methods (like ByteArray) missing

2018-05-17 Thread Carlos Rovira
Compressionutils that uses pako, this uses zlib? > > > > thanks > > > > 2018-05-17 15:17 GMT+02:00 Carlos Rovira : > > > >> Hi, > >> > >> BinaryData is the new ByteArray in royale right? > >> I was searching for compress/uncompress met

Re: BinaryData compress/uncompress methods (like ByteArray) missing

2018-05-17 Thread Harbs
>> Hi, >> >> BinaryData is the new ByteArray in royale right? >> I was searching for compress/uncompress methods but seems we don't have yet >> >> I'm missing something here? maybe the compress/uncompress algorithms has >> some license issues a

Re: BinaryData compress/uncompress methods (like ByteArray) missing

2018-05-17 Thread Piotr Zarzycki
; > wrote: > > > > > > Hi, > > > > > > BinaryData is the new ByteArray in royale right? > > > I was searching for compress/uncompress methods but seems we don't have > > yet > > > > > > I'm missing something here? may

Re: BinaryData compress/uncompress methods (like ByteArray) missing

2018-05-17 Thread Carlos Rovira
.github.io/pako/> > > > On May 17, 2018, at 4:17 PM, Carlos Rovira > wrote: > > > > Hi, > > > > BinaryData is the new ByteArray in royale right? > > I was searching for compress/uncompress methods but seems we don't have > yet > > > >

Re: BinaryData compress/uncompress methods (like ByteArray) missing

2018-05-17 Thread Carlos Rovira
I see we already has Compressionutils that uses pako, this uses zlib? thanks 2018-05-17 15:17 GMT+02:00 Carlos Rovira : > Hi, > > BinaryData is the new ByteArray in royale right? > I was searching for compress/uncompress methods but seems we don't have yet > > I'm m

Re: BinaryData compress/uncompress methods (like ByteArray) missing

2018-05-17 Thread Harbs
/ <http://nodeca.github.io/pako/> > On May 17, 2018, at 4:17 PM, Carlos Rovira wrote: > > Hi, > > BinaryData is the new ByteArray in royale right? > I was searching for compress/uncompress methods but seems we don't have yet > > I'm missing something here?

Re: BinaryData compress/uncompress methods (like ByteArray) missing

2018-05-17 Thread Piotr Zarzycki
ight? > I was searching for compress/uncompress methods but seems we don't have yet > > I'm missing something here? maybe the compress/uncompress algorithms has > some license issues and for that reason wasn't implemented? > > thanks > > > -- > Carlos

BinaryData compress/uncompress methods (like ByteArray) missing

2018-05-17 Thread Carlos Rovira
Hi, BinaryData is the new ByteArray in royale right? I was searching for compress/uncompress methods but seems we don't have yet I'm missing something here? maybe the compress/uncompress algorithms has some license issues and for that reason wasn't implemented? thanks -- Car