IGLib  1.7.2
The IGLib base library EXTENDED - with other lilbraries and applications.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
IG.test.GZipTest Class Reference

Static Public Member Functions

static void ReadFileToMemoryStream (string sourcefile, MemoryStream ms)
 
static int ReadAllBytesFromStream (Stream stream, byte[] buffer)
 
static bool CompareData (byte[] buf1, int len1, byte[] buf2, int len2)
 Compares data from two defferent buffers. More...
 
static byte[] CompressBytes (byte[] Original)
 
static byte[] UncompressBytes (byte[] zippedArray)
 
static void GZipCompressDecompress (string filename)
 
static void Main0 (string[] args)
 

Static Private Member Functions

static void ReportError (Exception ex)
 

Private Attributes

const int buffer_size = 40
 

Member Function Documentation

static void IG.test.GZipTest.ReportError ( Exception  ex)
inlinestaticprivate
static void IG.test.GZipTest.ReadFileToMemoryStream ( string  sourcefile,
MemoryStream  ms 
)
inlinestatic
static int IG.test.GZipTest.ReadAllBytesFromStream ( Stream  stream,
byte[]  buffer 
)
inlinestatic
static bool IG.test.GZipTest.CompareData ( byte[]  buf1,
int  len1,
byte[]  buf2,
int  len2 
)
inlinestatic

Compares data from two defferent buffers.

Returns
true if buffers contain the same data, false otherwise.

Referenced by IG.test.GZipTest.GZipCompressDecompress().

static byte [] IG.test.GZipTest.CompressBytes ( byte[]  Original)
inlinestatic
static byte [] IG.test.GZipTest.UncompressBytes ( byte[]  zippedArray)
inlinestatic
static void IG.test.GZipTest.GZipCompressDecompress ( string  filename)
inlinestatic
static void IG.test.GZipTest.Main0 ( string[]  args)
inlinestatic

Member Data Documentation

const int IG.test.GZipTest.buffer_size = 40
private

The documentation for this class was generated from the following file: