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

Method WriteVarInt64

csharp/src/Fory/ByteBuffer.cs:293–298  ·  view source on GitHub ↗
(long value)

Source from the content-addressed store, hash-verified

291 }
292
293 [MethodImpl(MethodImplOptions.AggressiveInlining)]
294 public void WriteVarInt64(long value)
295 {
296 ulong zigzag = unchecked((ulong)((value << 1) ^ (value >> 63)));
297 WriteVarUInt64(zigzag);
298 }
299
300 [MethodImpl(MethodImplOptions.AggressiveInlining)]
301 public void WriteTaggedInt64(long value)

Callers 11

WriteDataMethod · 0.80
WriteMethod · 0.80
WriteDateMethod · 0.80
WriteDurationMethod · 0.80
WriteDataMethod · 0.80
WriteDataMethod · 0.80
TryWriteKnownPayloadMethod · 0.80
WriteTypedPayloadMethod · 0.80
VarInt64RoundTripMethod · 0.80
CaseBufferVarMethod · 0.80

Calls

no outgoing calls

Tested by 3

VarInt64RoundTripMethod · 0.64
CaseBufferVarMethod · 0.64