mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
encoding.base64: change base64 function signatures to use []byte
(#8970)
This commit is contained in:
@ -4,7 +4,7 @@ fn test_long_encoding() {
|
||||
repeats := 1000
|
||||
input_size := 3000
|
||||
|
||||
s_original := 'a'.repeat(input_size)
|
||||
s_original := []byte{len: input_size, init: `a`}
|
||||
s_encoded := base64.encode(s_original)
|
||||
s_decoded := base64.decode(s_encoded)
|
||||
|
||||
|
Reference in New Issue
Block a user