vibe.d beta banner
get vibe.d
0.7.30

Function RandomNumberStream.read

Fills the buffer new random numbers.

Prototype

abstract void read(
  ubyte[] dst
);

Parameters

NameDescription

buffer

The buffer that will be filled with random numbers. It will contain buffer.length random ubytes. Supportes both heap-based and stack-based arrays.

Throws

CryptoException on error.

Authors

Ilya Shipunov

Copyright

© 2013 RejectedSoftware e.K.

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.