Closed hajimehoshi closed 4 years ago
https://github.com/go-interpreter/wagon/blob/v0.6.0/wasm/read.go#L45
In theory, Read might return 0 bytes without errors. io.ReadFull should be used to ensure that 1 byte is read.
Read
io.ReadFull
https://github.com/go-interpreter/wagon/blob/v0.6.0/wasm/read.go#L45
In theory,
Read
might return 0 bytes without errors.io.ReadFull
should be used to ensure that 1 byte is read.