MCPcopy Create free account
hub / github.com/apache/fory / ReadVarInt32

Method ReadVarInt32

csharp/src/Fory/ByteBuffer.cs:649–653  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

647 }
648
649 public int ReadVarInt32()
650 {
651 uint encoded = ReadVarUInt32();
652 return unchecked((int)((encoded >> 1) ^ (~(encoded & 1) + 1)));
653 }
654
655 public long ReadVarInt64()
656 {

Callers 13

ReadMethod · 0.80
SkipPayloadMethod · 0.80
ReadDataMethod · 0.80
ReadInt64FastPayloadMethod · 0.80
ReadScalarPayloadMethod · 0.80
ReadMethod · 0.80
ReadDataMethod · 0.80
VarInt32RoundTripMethod · 0.80
ReadDataMethod · 0.80
CaseBufferVarMethod · 0.80

Calls

no outgoing calls

Tested by 7

ReadDataMethod · 0.64
VarInt32RoundTripMethod · 0.64
ReadDataMethod · 0.64
CaseBufferVarMethod · 0.64
ReadDataMethod · 0.64