<div dir="ltr">ZipArchive is probably your friend here.  Let's you do full zip file usage.<div>Note that this both encodes and decodes.<br></div><div><br></div><div>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.</div><div><br></div><div>-cbc</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jul 26, 2017 at 7:10 AM, Louis LaBrunda <span dir="ltr"><<a href="mailto:Lou@keystone-software.com" target="_blank">Lou@keystone-software.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Tim,<br>
<br>
I like the zip idea.  Thanks.  Can you please point me to a class that will un-zip a byte array<br>
or stream.<br>
<br>
Lou<br>
<span class="im HOEnZb"><br>
<br>
On Tue, 25 Jul 2017 10:01:04 -0700, tim Rowledge <<a href="mailto:tim@rowledge.org">tim@rowledge.org</a>> wrote:<br>
<br>
>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.<br>
><br>
>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...<br>
><br>
>tim<br>
--<br>
</span><div class="HOEnZb"><div class="h5">Louis LaBrunda<br>
Keystone Software Corp.<br>
SkypeMe callto://PhotonDemon<br>
<br>
<br>
</div></div></blockquote></div><br></div>