public void Commit() { st = new SpanStream((int)GetDataSize()); st.WriteUInt32((uint)Streams.Count); WriteStreamSizes(); Streams.ForEach(data => WriteStream(data)); }
private void WriteStreamSizes() { Streams.ForEach(data => st.WriteUInt32((uint)data.Length)); }