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