Freigeben über


SplittableRandom.NextBytes(Byte[]) Method

Definition

Fills a user-supplied byte array with generated pseudorandom bytes.

[Android.Runtime.Register("nextBytes", "([B)V", "", ApiSince=33)]
public void NextBytes (byte[]? bytes);
[<Android.Runtime.Register("nextBytes", "([B)V", "", ApiSince=33)>]
member this.NextBytes : byte[] -> unit

Parameters

bytes
Byte[]

the byte array to fill with pseudorandom bytes

Attributes

Remarks

Fills a user-supplied byte array with generated pseudorandom bytes.

Added in 10.

Java documentation for java.util.SplittableRandom.nextBytes(byte[]).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to