public void WriteBlock(ByteBuffer block) { MemoryStream ms = new MemoryStream(_header_block.BigBlockSize.GetBigBlockSize()); _header_block.WriteData(ms); block.Write(ms.ToArray()); }
public void WriteData(ByteBuffer block) { block.Write(Serialize()); }