B
Bharat Bhushan
Hi,
I need to generate random bytes for x number of times and keep appending it
to a bigger byte[] array. How can I do this ?
for (int lctr=0; lctr < main.Main.NoOfattributes(); lctr=lctr+1){
// This line below generates the random bits for a given length
byte[] intervals = RandomFunctions.makeRandomGeneBits(length);
biggerByteArray[] = biggerByteArray + intervals ; // this is the
idea...obviously this statement doesn't work for byte[]
}
Any help, pointers on web are appreciated.
Many Thanks,
- Bharat.
I need to generate random bytes for x number of times and keep appending it
to a bigger byte[] array. How can I do this ?
for (int lctr=0; lctr < main.Main.NoOfattributes(); lctr=lctr+1){
// This line below generates the random bits for a given length
byte[] intervals = RandomFunctions.makeRandomGeneBits(length);
biggerByteArray[] = biggerByteArray + intervals ; // this is the
idea...obviously this statement doesn't work for byte[]
}
Any help, pointers on web are appreciated.
Many Thanks,
- Bharat.