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:
@@ -22,7 +22,7 @@ pub mut:
|
||||
// written. If any writer fails to write the full length an error is returned
|
||||
// and writing to other writers stops. If any writer returns an error the error
|
||||
// is returned immediately and writing to other writers stops.
|
||||
pub fn (mut m MultiWriter) write(buf []byte) ?int {
|
||||
pub fn (mut m MultiWriter) write(buf []u8) ?int {
|
||||
for mut w in m.writers {
|
||||
n := w.write(buf) ?
|
||||
if n != buf.len {
|
||||
|
||||
Reference in New Issue
Block a user