-
-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
As per title. LZ4Stream.ReadAsync appears to read data from the input stream until either the input stream ends or there is enough uncompressed output to completely fill the provided buffer. This may be optimal for throughput in many scenarios, but it is problematic in others (e.g. network scenarios), where the caller may want to immediately read any data that can be decompressed, even if there would not be enough data to fill the provided buffer.
The current behaviour is analagous to a postal service that only delivers your letters once they have gathered enough to fill your mailbox: It may be more efficient for the postal service to do it this way, but you run the risk of your bills becoming overdue before you even receive them.
Metadata
Metadata
Assignees
Labels
No labels