Gizmo3D

gzCompress.h

Go to the documentation of this file.
00001 //*****************************************************************************
00002 // File         : gzCompress.h
00003 // Module       : gzBase
00004 // Description  : Class definitions for compress utility
00005 // Author       : Anders Modén      
00006 // Product      : GizmoBase 2.1.1
00007 //      
00008 // Copyright © 2003- Saab Training Systems AB, Sweden
00009 //          
00010 // NOTE:    GizmoBase is a platform abstraction utility layer for C++. It contains 
00011 //          design patterns and C++ solutions for the advanced programmer.
00012 //
00013 //
00014 // Revision History...                          
00015 //                                  
00016 // Who  Date    Description                     
00017 //                                  
00018 // AMO  980819  Created file    
00019 // AMO  000531  Restructured Message Receivers, Allow multiple instances
00020 //
00021 //******************************************************************************
00022 
00023 #ifndef __GZ_COMPRESS_H__
00024 #define __GZ_COMPRESS_H__
00025 
00026 #include "gzTemplates.h"
00027 #include "gzSerialize.h"
00028 
00036 GZ_BASE_EXPORT gzBool gzCompress(const gzArray<gzUByte> &from , gzArray<gzUByte> &to, gzDynamicArray<gzUByte> *buffer=NULL);
00037 GZ_BASE_EXPORT gzBool gzUnCompress(const gzArray<gzUByte> &from , gzArray<gzUByte> &to);
00038 
00039 GZ_BASE_EXPORT gzBool gzCompress(const gzDynamicArray<gzUByte> &from , gzDynamicArray<gzUByte> &to, gzDynamicArray<gzUByte> *buffer=NULL);
00040 GZ_BASE_EXPORT gzBool gzUnCompress(const gzDynamicArray<gzUByte> &from , gzDynamicArray<gzUByte> &to);
00041 
00042 GZ_BASE_EXPORT gzBool gzCompress(const gzUByte *from , gzULong len_in , gzUByte *to , gzULong &len_out);
00043 
00044 GZ_BASE_EXPORT gzBool gzUnCompress(const gzUByte *from , gzULong len_in , gzUByte *to , gzULong &len_out);
00045 
00047 GZ_BASE_EXPORT gzULong gzCRC32(gzULong crc,const gzUByte *buffer , gzULong len);
00048 
00049 
00050 #endif // __GZ_COMPRESS_H__

Documentation for Gizmo3D generated at Wed Feb 20 11:54:03 2008 by   Saab Training Systems AB, ¸ (c) 2003-and beyond