ps
Class CFilePacker
in FilePacker.h
in FilePacker.cpp
- class CFilePacker
Field Summary |
private std::vector< u8 > |
m_Data
|
Constructor Summary |
CFilePacker( u32 version, const char magicstr[ 4] )
Write: write out to file all packed data added so far |
Method Summary |
void |
PackRaw( const void* rawdata, u32 rawdatalen )
PackString: pack a string onto the end of the data stream |
void |
PackString( const CStr& str )
|
void |
Write( const char* filename )
PackRaw: pack given number of bytes onto the end of the data stream |
m_Data
private std::vector< u8 > m_Data;
CFilePacker
public CFilePacker( u32 version, const char magicstr[ 4] );
- Write: write out to file all packed data added so far
PackRaw
public void PackRaw( const void* rawdata, u32 rawdatalen );
- PackString: pack a string onto the end of the data stream
PackString
public void PackString( const CStr& str );
Write
public void Write( const char* filename );
- PackRaw: pack given number of bytes onto the end of the data stream