-
Notifications
You must be signed in to change notification settings - Fork 114
Open
Description
I'm trying to wrap my head around the different read/write functions in the Byte trait. It seems a bit needlessly intimidating and confusing. For reference, I'm refering to these functions: https://docs.rs/vm-memory/0.7.0/vm_memory/bytes/trait.Bytes.html#tymethod.read
writewrites to theByteobject, butwrite_toactually reads from it.read_intocould have been a better name.- Most read/write functions could have default implementations based on
read/writebut that seems to be prevented by the configurable error type.
Are these desirable changes?
Metadata
Metadata
Assignees
Labels
No labels