public void Serialize(BigEndianBinaryWriter writer) { writer.Write(this.Count); foreach (var it in this) { writer.Write(it.Key); writer.Write(it.Value); } }
public BigEndianDataBuilder() { _stream = new MemoryStream(); _writer = new BigEndianBinaryWriter(_stream); }