API reference
python:astx:astx.buffer.BufferViewWrite
class BufferViewWrite
BufferViewWrite(view: astx.AST, value: astx.AST, *, byte_offset: int = 0)
Source: packages/astx/src/astx/buffer.py:257
Internal low-level raw byte write through a buffer view.
Writes one 8-bit integer at offset_bytes + byte_offset. This is not a generic typed element store or user-facing array mutation API.
Attributes
-
view — Type: astx.AST
-
value — Type: astx.AST
-
byte_offset — Type: int
-
type_ — Type: astx.Int32
Methods
-
__init__ — Initialize one low-level view write.
-
get_struct — Return the structured representation.