Table of Contents

Delegate Bulk.SpanGenerator

Namespace
Veritas
Assembly
Veritas.dll

Delegate matching generator signatures using Span<T> and a provided Random instance.

public delegate (bool ok, int written) Bulk.SpanGenerator(Span<char> destination, Random rng)

Parameters

destination Span<char>

Buffer where the generated value will be written.

rng Random

Source of randomness for generation.

Returns

(bool ok, int written)

Tuple indicating success and the number of characters written.