Package java.util
Class Random

Public Method nextBytes

void nextBytes(byte[] bytes)

_INSERT_METHOD_SIGNATURE_HERE_

Description:

The nextByte method generates random bytes and places them into the bytes array. The number of random bytes produced is equal to the length of the byte array.

Example

   byte randByte[] = new byte[10];
   rand.nextBytes(randByte);
   for (int i = 0; i < 10; i++)
      Logger.log("random value: " + randByte[i]);

The nextByte method returns the bytes array with random values.