col_to_int

col_to_int(column: HereditaryStratigraphicColumn, num_strata_deposited_byte_order: Literal['big', 'little'] = 'big', num_strata_deposited_byte_width: int = 4) int

Serialize a HereditaryStratigraphicColumn to a binary representation as a Python int.

Integer representation is packet binary representation plus a sentry bit at the most significant bit position, to prevent loss of leading zero bits.

Uses big endian byte order.