mirror of
https://github.com/vlang/v.git
synced 2025-09-13 14:32:26 +03:00
all: replace []byte with []u8
This commit is contained in:
parent
0527ac633e
commit
fb192d949b
164 changed files with 533 additions and 533 deletions
|
@ -35,7 +35,7 @@ pub fn int_u64(max u64) ?u64 {
|
|||
return n
|
||||
}
|
||||
|
||||
fn bytes_to_u64(b []byte) []u64 {
|
||||
fn bytes_to_u64(b []u8) []u64 {
|
||||
ws := 64 / 8
|
||||
mut z := []u64{len: ((b.len + ws - 1) / ws)}
|
||||
mut i := b.len
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue