checksum icon indicating copy to clipboard operation
checksum copied to clipboard

io.EOF and bytesRead question

Open lvchangye opened this issue 9 months ago • 0 comments

I question whether to use buf[:bytesRead] before checking io.EOF since it is possible to get io.EOF and data at the same time, see io.Reader documentation.

lvchangye avatar May 03 '24 16:05 lvchangye