readbytes!: support the all
keyword for all methods
#40793
Labels
io
Involving the I/O subsystem: libuv, read, write, etc.
all
keyword for all methods
#40793
It is quite surprising that the
readbytes!
function doesn't block to fill up its buffer argument by default. Fortunately, there's aall=true
keyword argument that you can pass to it to make it do so. Unfortunately, that keyword argument isn't supported by all I/O types so you still end up having to implement this logic yourself if you want to usereadbytes!
generically. Theall
keyword argument should be extended to cover all methods.The text was updated successfully, but these errors were encountered: