vlib/net: add buffered IO, x.net -> net (#6754)

This commit is contained in:
Emily Hudson 2020-11-15 20:54:47 +00:00 committed by GitHub
parent 20bec81678
commit cd2a2cef25
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
55 changed files with 741 additions and 1648 deletions

View file

@ -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()
}