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