Address¶
- class lsst.pipe.base.quantum_graph.Address(offset: int = 0, size: int = 0)¶
Bases:
object
Struct that holds an address into a multi-block file.
Attributes Summary
Byte offset for the block.
Size of the block.
Attributes Documentation
- size: int¶
Size of the block.
This always includes the size of the tiny header that records the block size. That header does not include the size of the header, so these sizes differ by the
int_size
used to write the multi-block file.A size of zero is used (with, by convention, an offset of zero) to indicate an absent block.