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

Method WriteHead

csharp/src/Fory/Fory.cs:243–247  ·  view source on GitHub ↗

Writes the frame header for a payload. Destination writer.

(ByteWriter writer)

Source from the content-addressed store, hash-verified

241 /// </summary>
242 /// <param name="writer">Destination writer.</param>
243 [MethodImpl(MethodImplOptions.AggressiveInlining)]
244 internal void WriteHead(ByteWriter writer)
245 {
246 writer.WriteUInt8(ForyHeaderFlag.IsXlang);
247 }
248
249 /// <summary>
250 /// Reads and validates the frame header.

Calls 1

WriteUInt8Method · 0.80

Tested by 1