コード例 #1
0
        bool BuildChunkToStream(IO.EndianStream ecfStream, EcfFileChunkDefinition chunk)
        {
            bool success = true;

            var raw_chunk = mEcfFile.GetChunk(chunk.RawChunkIndex);

            using (var chunk_ms = EcfDefinition.GetChunkFileDataStream(chunk))
            {
                raw_chunk.BuildBuffer(ecfStream, chunk_ms);
            }

            return(success);
        }