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

Method WriteTaggedUInt64

csharp/src/Fory/ByteBuffer.cs:313–324  ·  view source on GitHub ↗
(ulong value)

Source from the content-addressed store, hash-verified

311 }
312
313 [MethodImpl(MethodImplOptions.AggressiveInlining)]
314 public void WriteTaggedUInt64(ulong value)
315 {
316 if (value <= int.MaxValue)
317 {
318 WriteUInt32(unchecked((uint)value << 1));
319 return;
320 }
321
322 WriteUInt8(0x01);
323 WriteUInt64(value);
324 }
325
326 [MethodImpl(MethodImplOptions.AggressiveInlining)]
327 public void WriteFloat32(float value)

Callers 2

WriteTypedPayloadMethod · 0.80
AssertTaggedUInt64Method · 0.80

Calls

no outgoing calls

Tested by 1

AssertTaggedUInt64Method · 0.64