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

Method SetByte

csharp/src/Fory/ByteBuffer.cs:369–378  ·  view source on GitHub ↗
(int index, byte value)

Source from the content-addressed store, hash-verified

367 }
368
369 [MethodImpl(MethodImplOptions.AggressiveInlining)]
370 public void SetByte(int index, byte value)
371 {
372 if ((uint)index >= (uint)_count)
373 {
374 throw new ArgumentOutOfRangeException(nameof(index));
375 }
376
377 _storage[index] = value;
378 }
379
380 [MethodImpl(MethodImplOptions.AggressiveInlining)]
381 public void SetBytes(int index, ReadOnlySpan<byte> bytes)

Callers 3

WriteMapMethod · 0.80
WriteDataMethod · 0.80

Calls

no outgoing calls