mrcrowbar.views module¶
-
class
mrcrowbar.views.LinearStore(parent: Block, source: Any, block_klass: type[Block], offsets: Any = None, sizes: Any = None, base_offset: int | Ref = 0, fill: bytes = b'x00', block_kwargs: dict[str, Any] | None = None, transform: Transform | None = None)[source]¶ Bases:
mrcrowbar.views.View-
base_offset¶
-
items¶
-
offsets¶
-
sizes¶
-
source¶
-
-
class
mrcrowbar.views.Store(parent: Block, source: Any, fill: bytes = b'x00', base_offset: int = 0, align: int = 1)[source]¶ Bases:
mrcrowbar.views.View-
align¶
-
base_offset¶
-
source¶
-
-
class
mrcrowbar.views.StoreRef(block_klass: type[Block], store: Store, offset: int, size: int | None = None, count: int | None = None, block_kwargs: dict[str, Any] | None = None, transform: Transform | None = None)[source]¶ Bases:
mrcrowbar.refs.Ref-
cache(instance: Block, name: str)[source]¶ Signal to the source to pre-load information.
Called by the parent Block constructor.
-