Use read { } instead.
Discard at most n available bytes or 0 if no bytes available yet
Request buffer range atLeast bytes length
Number of bytes available for read. However it does not necessarily mean that all available bytes could be requested at once