2 ms·
> This means that stream.read_to_end() can only return a maximum of DEFAULT_BUF_SIZE bytes. That doesn't sound right. push_at_least() is called inside a loop,
by zokier 12y ago
> This means that stream.read_to_end() can only return a maximum of DEFAULT_BUF_SIZE bytes.
That doesn't sound right. push_at_least() is called inside a loop, which looks very much like it should be able to read arbitrarily large amounts of data.
- wyc 12y agoyou're right! i've corrected it and credited you. thank you.