|
FireSync API
|
| kStatus kCompressedPhase_SetItemCount | ( | kCompressedPhase | data, |
| kCompressedPhaseStream | stream, | ||
| kSize | itemCount | ||
| ) |
Sets the total number of compressed items in the stream.
This method must be called when external packets are attached, to inform kCompressedPhase about how many items are included in the stream. It is only necessary to call this method once for each stream. This method is typically called after attaching the last packet in the stream.
This method should not be used when writing individual items to the stream (e.g., kCompressedPhase_BeginWrite, kCompressedPhase_WriteDelta.
| data | Compressed phase object. |
| stream | Stream to which packet should be attached. |
| itemCount | Total number of compressed items in the stream. |