Exemplo n.º 1
0
 /// <summary>
 /// Writes a binary representation of this class to a byte buffer, at a given position.
 /// The position is incremented to the end of the representation
 /// </summary>
 /// <param name="buffer">a byte array where the binary represenaion is written</param>
 /// <param name="position">the position in the byte array</param>
 public override void ToByteArray(byte[] buffer, ref int position)
 {
     base.ToByteArray(buffer, ref position);
     _length.ToByteArray(buffer, ref position);
     _deltas.ToByteArray(buffer, ref position);
     _values.ToByteArray(buffer, ref position);
 }