char cplatEdian = kCP_StreamData_BigEdian; // or kCP_StreamData_LittleEdian SInt32 cplatSignature = kCP_StreamHeaderTag; // 'CPLA' SInt16 streamVersion = 1; // current stream version is 1 char hasTags = false; // no debug tags
In addition to this class, there are CP_InStream and CP_OutStream classes that can write the data to a CP_HandleBlock object, or a CP_File.