Differences
This shows you the differences between the selected revisions of the page.
2016-02-04 | 2016-02-21 | ||
hashtable style sessionoptions initilization (martin) | no summary (64.233.173.70) (hidden) | ||
Line 5: | Line 5: | ||
open <session_url> | open <session_url> | ||
- | open <site> | + | open <site>FileStream sourceFile = File.OpenRead(inFilename); |
+ | FileStream destFile = File.Create(outFilename); | ||
+ | GZipStream compStream = | ||
+ | new GZipStream(destFile, CompressionMode.Compress); | ||
+ | int theByte = sourceFile.ReadByte(); | ||
+ | while (theByte != -1) | ||
+ | { | ||
+ | compStream.WriteByte((byte)theByte); | ||
+ | theByte = sourceFile.ReadByte(); | ||
===== Remarks ===== | ===== Remarks ===== |