1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

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
55 changed files with 741 additions and 1648 deletions

View File

@@ -107,7 +107,7 @@ fn (am AssetManager) combine(asset_type string, to_file bool) string {
mut file := os.create(out_file) or {
panic(err)
}
file.write(out)
file.write(out.bytes())
file.close()
return out_file
}