-
-
Notifications
You must be signed in to change notification settings - Fork 150
Closed
Labels
Description
write_*
methods of ByteOrder
trait accept a buffer and don't guarantee that they wouldn't read from it. This has a drawback that strictly speaking, the provided buffer shouldn't be uninitialized.
I suggest to provide some way of guaranteeing that the buffer won't be read from, so it's fine to pass uninitialized buffer.