mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
all: replace []byte with []u8
This commit is contained in:
@@ -142,7 +142,7 @@ pub fn (x byte) hex() string {
|
||||
|
||||
// hex returns a string with the hexadecimal representation
|
||||
// of the byte elements of the array.
|
||||
pub fn (b []byte) hex() string {
|
||||
pub fn (b []u8) hex() string {
|
||||
mut hex := ''
|
||||
for i in b {
|
||||
mut z := i
|
||||
|
||||
Reference in New Issue
Block a user