Skip to content

Commit df988fb

Browse files
committed
Add TryFromBytes trait
`TryFromBytes` can be implemented for types which are not `FromZeroes` or `FromBytes`; it supports performing a runtime check to determine whether a given byte sequence contains a valid instance of `Self`. This is the first step of #5. Future commits will add support for a custom derive and for implementing `TryFromBytes` on unsized types. Makes progress on #5
1 parent 90bee71 commit df988fb

File tree

3 files changed

+892
-159
lines changed

3 files changed

+892
-159
lines changed

0 commit comments

Comments
 (0)