Don't silently return 0 when there is no more data, because this may crash the caller. And flush output even if input EOF has been reached.
77 KiB
77 KiB
Don't silently return 0 when there is no more data, because this may crash the caller. And flush output even if input EOF has been reached.