You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Problem description
The byte stream writer writes buffers less than or equal to 8 MiB atomically. However, this critical feature is not documented. It should be documented so that users can safely utilize this guarantee without worrying about breaking implementation changes in the future.
Problem location
byte_stream.rs ByteStreamWriter::write.
Suggestions for an improvement
Add the following, assuming that it is correct.
If buf length is less than or equal to 8 MiB, the entire buffer will be written atomically. If buf length is greater than 8 MiB, only the first 8 MiB will be written, and it will be written atomically. In either case, the actual number of bytes written will be returned.
The text was updated successfully, but these errors were encountered:
Problem description
The byte stream writer writes buffers less than or equal to 8 MiB atomically. However, this critical feature is not documented. It should be documented so that users can safely utilize this guarantee without worrying about breaking implementation changes in the future.
Problem location
byte_stream.rs
ByteStreamWriter::write
.Suggestions for an improvement
Add the following, assuming that it is correct.
The text was updated successfully, but these errors were encountered: