public void UpdateHeader(ref EcfHeader header) { Contract.Requires <InvalidOperationException>(HeaderId != 0); header.InitializeChunkInfo(HeaderId, ChunkExtraDataSize); }
public void InitializeChunkInfo(uint dataId, uint dataChunkExtraDataSize = 0) { mHeader.InitializeChunkInfo(dataId, dataChunkExtraDataSize); }