3 ms·
Getting a partial read from a TCP socket I wish common test frameworks and/or stdlibs made it easier to "fuzz" this. I've written more than one io.Reader imple
by andrewf 5y ago
Getting a partial read from a TCP socket
I wish common test frameworks and/or stdlibs made it easier to "fuzz" this. I've written more than one io.Reader implementation (Golang) that breaks up results from an underlying io.Reader according to a random seed.
- anonymoushn 5y agoWhile you'll usually catch me saying negative things about the Zig Reader and Writer interfaces, this is one thing they make super easy.