BlobPack

class dsviper.BlobPack(descriptor)

Bases: object

A class used to implements memory regions in one blob.

blob() ValueBlob

Return the blob used to encode the blob pack.

check(name: str) BlobPackRegion

Return the BlobPackItem or raise.

static from_blob(blob: ValueBlob) BlobPack

Return a BlobPack from a blob or raise.

query(name: str) BlobPackRegion | None

Return the BlobPackItem or None.

regions() list[BlobPackRegion]

Return a list of BlobPackItem.