Expand description
Tools for converting file format structures to and from bytes.
This module should be replaced once rust provides safe transmutes.
Traits§
- A trait for types that can safely be converted from and to byte slices.
Functions§
- Cast a
Pod
type to a byte slice. - Cast a
Pod
type to a mutable byte slice. - Cast a slice of a
Pod
type to a byte slice. - Cast a slice of a
Pod
type to a mutable byte slice. - Cast a byte slice to a
Pod
type. - Cast a mutable byte slice to a
Pod
type. - Cast a byte slice to a slice of a
Pod
type. - Cast a mutable byte slice to a slice of a
Pod
type.