Open kaimast opened 1 year ago
This adds a method similar to tokio::io::AsyncReadExt::read_to_end.
tokio::io::AsyncReadExt::read_to_end
There seems to be no straightforward way to get the filesize right now, so this is useful (at least for me).
This adds a method similar to
tokio::io::AsyncReadExt::read_to_end
.There seems to be no straightforward way to get the filesize right now, so this is useful (at least for me).