(int index, byte value)
| 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) |
no outgoing calls