Completely fills the span with random bytes.
- Namespace
- RandN
.Rngs - Containing Type
- ChaCha
- Implements
Syntax
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void Fill(Span<byte> buffer)Attributes
| Type | Description |
|---|---|
| MethodImplAttribute |
Parameters
| Name | Type | Description |
|---|---|---|
| buffer | Span| The span to fill. | |