mirror of
https://github.com/vlang/v.git
synced 2025-09-13 06:22:26 +03:00
9 lines
360 B
V
9 lines
360 B
V
// Copyright (c) 2019-2024 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) ![]u8 {
|
|
return error('rand.read is not implemented on this platform')
|
|
}
|