Fill byte array with random values.

Namespace: Org.BouncyCastle.Crypto.Prng
Assembly: ITextSharp (in ITextSharp.dll) Version: 4.1.6.0

Syntax

C#
void NextBytes(
	byte[] bytes,
	int start,
	int len
)
Visual Basic
Sub NextBytes ( _
	bytes As Byte(), _
	start As Integer, _
	len As Integer _
)
Visual C++
void NextBytes(
	array<unsigned char>^ bytes, 
	int start, 
	int len
)

Parameters

bytes
Type: array<System..::..Byte>[]()[][]
Array to receive bytes.
start
Type: System..::..Int32
Index to start filling at.
len
Type: System..::..Int32
Length of segment to fill.

See Also