NextBytes Method

Lidgren.Network

Collapse imageExpand ImageCopy imageCopyHover image
Fills the provided byte array with random bytes. This method is functionally equivalent to System.Random.NextBytes().

Namespace: Lidgren.Network
Assembly: Lidgren.Network (in Lidgren.Network.dll) Version: 2012.1.7.0 (2012.1.7.0)

Syntax

C#
public void NextBytes(
	byte[] buffer
)
Visual Basic
Public Sub NextBytes ( _
	buffer As Byte() _
)
Visual C++
public:
void NextBytes(
	array<unsigned char>^ buffer
)

Parameters

buffer
Type: array<System..::..Byte>[]()[][]

[Missing <param name="buffer"/> documentation for "M:Lidgren.Network.NetRandom.NextBytes(System.Byte[])"]

See Also