콘텐츠로 이동

Buffer

class Buffer

A simple byte-sized buffer.

This struct represents a contiguous block of memory for storing byte-sized data.

Attributes

Name Description
size

size

property size: int

Methods

Name Description
__init__
set_buffer
__repr__

__init__

def __init__(self, _buffer: Optional[_cQbRuntime.Buffer] = None)

set_buffer

def set_buffer(self, arr: np.ndarray)

__repr__

def __repr__(self)