pub trait ReaderBuilder<Address: AddressBase, Item>where
    Self: Sized,
{ type Result: Reader<Address, Item>; fn read_at(data: Self, addr: Address) -> Self::Result; fn read_from(data: Self) -> Self::Result { ... } }
Expand description

a trait defining how to build a Reader<Address, Item> from some data source (Self). definitions of ReaderBuilder are provided for U8Reader on Address and Word types that yaxpeax_arch provides - external decoder implementations should also provide ReaderBuilder impls if they use custom Reader types.

Required Associated Types

Required Methods

construct a reader from data beginning at addr from its beginning.

Provided Methods

construct a reader from data beginning at the start of data.

Implementations on Foreign Types

Implementors