예제 #1
0
 public static void WriteSVarLong(ref MemorySpan span, long value)
 {
     VarInt.WriteSInt64(ref span, value);
 }
예제 #2
0
 public static long ReadSVarLong(ref MemorySpan span)
 {
     return(VarInt.ReadSInt64(ref span));
 }
예제 #3
0
 public static int ReadSVarInt(ref MemorySpan span)
 {
     return(VarInt.ReadSInt32(ref span));
 }
예제 #4
0
 public static void WriteSVarInt(ref MemorySpan span, int value)
 {
     VarInt.WriteSInt32(ref span, value);
 }
예제 #5
0
 public static uint ReadUVarInt(ref MemorySpan span)
 {
     return(VarInt.ReadUInt32(ref span));
 }