The document is archived and information here might be outdated
Visual Studio .NET 2003
Writes a specified number of bytes to the archive.
void Write( const void* lpBuf, UINT nMax );
- A pointer to a user-supplied buffer that contains the data to be written to the archive.
- An integer that specifies the number of bytes to be written to the archive.
The archive does not format the bytes.
You can use the Write member function within your Serialize function to write ordinary structures that are contained in your objects.
extern CArchive ar; char pb; ar.Write( pb, 100 );