Trait kaitai::runtime::KaitaiStruct[][src]

pub trait KaitaiStruct where
    Self: Sized
{ fn from_file(path: &str) -> Result<Self> { ... }
fn from_bytes(bytes: &[u8]) -> Result<Self> { ... } }
Expand description

The trait that is implemented by all structs created from a ksy file.

Provided methods

Create a KaitaitStruct from a file, relative to the root of the project.

Create a KaitaiStruct from a file, relative to the root of the project.

Implementors