mirror of
https://github.com/vlang/v.git
synced 2025-09-15 07:22:27 +03:00
rand: add PRNG.fill_buffer_from_set/2 (#21037)
This commit is contained in:
parent
4221522c0a
commit
a1c6377ab6
5 changed files with 143 additions and 31 deletions
|
@ -5,6 +5,10 @@ fn init() {
|
|||
default_rng = new_default()
|
||||
}
|
||||
|
||||
fn internal_fill_buffer_from_set(mut rng PRNG, charset string, mut buf []u8) {
|
||||
panic('todo')
|
||||
}
|
||||
|
||||
fn internal_string_from_set(mut rng PRNG, charset string, len int) string {
|
||||
result := ''
|
||||
#
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue