VsChunk

final class ntoseye.VsChunk

Subclass of BaseRecord.

A segment-heap VS chunk, decoded from its header.

property address: int
property flags: int | None

Always None, because VS chunk headers have no flags.

property granule: int

The header size in bytes (see SegmentHeap.granule).

property kind: str

Always vs-chunk.

property previous_size: int

The size in bytes of the previous chunk.

property size: int

The size in bytes, with the header.

property state: str

busy or free.

property unused_bytes: int | None

The number of unused bytes, as recorded in the last word of the chunk. None if the header records no unused bytes.

property user: int

First user byte.

property user_size: int

The number of bytes that the caller can use.