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
Hey,
Nice crate - i hacked it up a bit to try to make it safer.
Most (but not all) of the unsafe usage is around trying to convert various structures into various byte representations and back.
Or make bitwise copies of non-Copy structures, etc.
For those cases, the packed_struct crate can be used to do it without pain or unsafe code.
The text was updated successfully, but these errors were encountered:
Hey,
Nice crate - i hacked it up a bit to try to make it safer.
Most (but not all) of the unsafe usage is around trying to convert various structures into various byte representations and back.
Or make bitwise copies of non-Copy structures, etc.
For those cases, the packed_struct crate can be used to do it without pain or unsafe code.
The text was updated successfully, but these errors were encountered: