Module object::pod[][src]

Tools for converting file format structures to and from bytes.

This module should be replaced once rust provides safe transmutes.

Structs

Bytes

A newtype for byte slices.

Traits

Pod

A trait for types that can safely be converted from and to byte slices.

WritableBuffer

Trait for writable buffer.

Functions

bytes_of

Cast a Pod type to a byte slice.

from_bytes

Cast a byte slice to a Pod type.

slice_from_bytes

Cast a byte slice to a slice of a Pod type.