blob: 2e1e82365eefe016c1a6359871ad379db98a4afd (
plain)
1
2
3
4
5
6
7
8
9
|
// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved.
// Use of this source code is governed by an MIT license
// that can be found in the LICENSE file.
module rand
// read returns an array of `bytes_needed` random bytes read from the OS.
pub fn read(bytes_needed int) ?[]byte {
return error('rand.read is not implemented on this platform')
}
|