ThreadSafeRandomNextBytes(SpanByte) Method
Fills the elements of the specified buffer with random numbers.
Namespace: KGySoft.CoreLibrariesAssembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 7.2.0
public override void NextBytes(
Span<byte> buffer
)
Public Overrides Sub NextBytes (
buffer As Span(Of Byte)
)
public:
virtual void NextBytes(
Span<unsigned char> buffer
) override
abstract NextBytes :
buffer : Span<byte> -> unit
override NextBytes :
buffer : Span<byte> -> unit
Parameters
- buffer SpanByte
- A SpanT of bytes to contain random numbers.