Esempio n. 1
0
 public static long Read_TYPE_SINT64(ByteArray stream)
 {
     return(ZigZag.Decode64(ReadVarint(stream)));
 }
Esempio n. 2
0
 public static void Write_TYPE_SINT64(ByteArray stream, long value)
 {
     WriteVarint(stream, ZigZag.Encode64(value));
 }
Esempio n. 3
0
 public static int Read_TYPE_SINT32(ByteArray stream)
 {
     return(ZigZag.Decode32((uint)ReadVarint(stream)));
 }
Esempio n. 4
0
 public static void Write_TYPE_SINT32(ByteArray stream, int value)
 {
     WriteVarint(stream, ZigZag.Encode32(value));
 }