randomBytes

numBytes must be a multiple of 4, or this will throw an Exception

  1. ubyte[] randomBytes(size_t numBytes)
  2. ubyte[] randomBytes(size_t numBytes, Rand rand)
    ubyte[]
    randomBytes
    (
    size_t numBytes
    ,
    ref Rand rand
    )
    out (result) { assert (result.length == numBytes); }

Meta