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

offset

Byte offset for the block.

size

Size of the block.

Attributes Documentation

offset: int

Byte offset for the block.

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.