#io.ReadAll and errors
14 messages · Page 1 of 1 (latest)
ReadAll does not take a buf as input, you are confusing ReadFull and ReadAll.
A simple typo, but yes: the question is about io.ReadFull.
@dapper mantle see this: https://github.com/golang/go/commit/665af046c29eafd35460e985a10ce74b1d9d3ef8
abd this: https://github.com/golang/go/issues/20477
it's really not about ReadAll, the text you cited is from ReadFull's documentation
I can't type. Yes, io.ReadFull.
ReadAll grows an internal buffer forever until io.EOF is returned, it doesn't care about considerations like that
yeah 🙂 well I linked the commit and the issue that prompted the addition of this line, I hope it helps you
ugh, you beat me by a full minute #go-chat message
Not a competition! I appreciate you both :}
yes it is!
oh, then you lost 😮
who is counting points ?
idk but I'm evidently losing