[squeak-dev] Can a running Squeak program look at a Squeak image file and know if it is a good image?

Chris Cunningham cunningham.cb at gmail.com
Wed Jul 26 14:24:22 UTC 2017


ZipArchive is probably your friend here.  Let's you do full zip file usage.
Note that this both encodes and decodes.

If you really want to deal with individual arrays in some other format,
look at the DeflateStream (and InflateStream).  But I'd suggest working
with ZipArchive first until it doesn't suite your needs.

-cbc

On Wed, Jul 26, 2017 at 7:10 AM, Louis LaBrunda <Lou at keystone-software.com>
wrote:

> Hi Tim,
>
> I like the zip idea.  Thanks.  Can you please point me to a class that
> will un-zip a byte array
> or stream.
>
> Lou
>
>
> On Tue, 25 Jul 2017 10:01:04 -0700, tim Rowledge <tim at rowledge.org> wrote:
>
> >Don’t forget to start off by checking the file size and some variety of
> hash - MD5 seems to be a common utility. And zip the file(s) when ending
> both for the obvious speed reason and as another sort of integrity check.
> >
> >Or, consider not sending entire images, but using an update stream
> private to your project. Hell, you could even use my MQTTClient thing to
> subscribe to an update topic...
> >
> >tim
> --
> Louis LaBrunda
> Keystone Software Corp.
> SkypeMe callto://PhotonDemon
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20170726/ceea17b0/attachment.html>


More information about the Squeak-dev mailing list