StreamReaderSharedMemory

class dsviper.StreamReaderSharedMemory(shared_memory)

Bases: object

Reads data from a shared memory region.

offset() → int

Return the current position in the region, in bytes.

rewind() → None

Rewind the stream.

size() → int

Return the size of the shared region, in bytes.

stream_raw_reading() → StreamRawReading

Return the StreamRawReading interface.