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