Skip to content
Back to top
View this page

# BlobPackRegion

class dsviper.BlobPackRegion

  Bases: `object`

  A class used for a region that implement the buffer protocol.

  Note: Not directly instantiable.

  blob() → ValueBlob

    Return the blob used by the BlobPack.

  blob_layout() → BlobLayout

    Return the blob layout.

  byte_count() → int

    Return the number of byte.

  copy(buffer: Buffer) → None

    Copy the content of the buffer to the region.

  count() → int

    Return the number of element.

  data_count() → int

    Return the number of data.

  name() → str

    Return the name.

  offset() → int

    Return the offset in the blob.