Esempio n. 1
0
 /// <summary>
 /// Append value to stream.
 /// </summary>
 /// <param name="value"></param>
 public void Write(Int64 value)
 {
     Underlying.Write(ZigZag.Encode(value));
 }
 /// <summary>
 /// Read the next value.
 /// </summary>
 /// <returns></returns>
 public Int64 Read()
 {
     return(ZigZag.Decode(Underlying.Read()));
 }