CrossFramework Library
|
00001 00006 #if defined(XBASE_INCLUDED_HASH_HPP) 00007 #else 00008 #define XBASE_INCLUDED_HASH_HPP 00009 00010 //------------------------------------------------------------ 00011 #include <XBase/BuiltInTypes.hpp> 00012 00013 //------------------------------------------------------------ 00014 namespace XBase { 00015 class MemBlock; 00016 } 00017 00018 //------------------------------------------------------------ 00019 namespace XBase { 00021 00022 00023 struct Hash 00024 { 00026 static uint16 CRC16( const MemBlock& ); 00027 00029 static uint32 CRC32( const MemBlock& ); 00030 }; 00032 } 00033 //------------------------------------------------------------ 00034 #endif 00035 // EOF