Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
Read
Method · 0.80
SkipPayload
Method · 0.80
ReadData
Method · 0.80
ReadInt64FastPayload
Method · 0.80
ReadScalarPayload
Method · 0.80
Read
Method · 0.80
ReadData
Method · 0.80
MacroFieldOrderFollowsForyRules
Method · 0.80
VarInt32RoundTrip
Method · 0.80
ReadData
Method · 0.80
DecimalUsesCanonicalWireFormat
Method · 0.80
CaseBufferVar
Method · 0.80
Calls
no outgoing calls
Tested by
7
ReadData
Method · 0.64
MacroFieldOrderFollowsForyRules
Method · 0.64
VarInt32RoundTrip
Method · 0.64
ReadData
Method · 0.64
DecimalUsesCanonicalWireFormat
Method · 0.64
CaseBufferVar
Method · 0.64
ReadData
Method · 0.64