Method GetBytes
- Namespace
- DisCatSharp.Common
- Assembly
- DisCatSharp.Common.dll
GetBytes(byte[])
Fills a supplied buffer with random bytes.
public void GetBytes(byte[] buffer)
Parameters
buffer
byte[]Buffer to fill with random bytes.
GetBytes(Span<byte>)
Fills a supplied memory region with random bytes.
public void GetBytes(Span<byte> buffer)