mirror of
https://github.com/vlang/v.git
synced 2025-09-13 14:32:26 +03:00
vlib/net: add buffered IO, x.net -> net (#6754)
This commit is contained in:
parent
20bec81678
commit
cd2a2cef25
55 changed files with 741 additions and 1648 deletions
|
@ -110,7 +110,7 @@ fn (image Image) save_as_ppm(file_name string) {
|
|||
c_r := to_int(unsafe{image.data[i]}.x)
|
||||
c_g := to_int(unsafe{image.data[i]}.y)
|
||||
c_b := to_int(unsafe{image.data[i]}.z)
|
||||
f_out.write('$c_r $c_g $c_b ')
|
||||
f_out.write_str('$c_r $c_g $c_b ')
|
||||
}
|
||||
f_out.close()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue