API reference
python:astx:astx.types.string.Bytes
class Bytes
Source: packages/astx/src/astx/types/string.py:37
Immutable octets, distinct from Unicode and Arrow binary.
Elements are UInt8 and lengths count bytes, including embedded NUL. Storage, checked construction, and ownership are semantic-host contracts.
Attributes
-
loc — Type: SourceLocation
-
kind — Type: ASTKind
-
comment — Type: str
-
parent — Type: Optional[ASTNodes]
-
ref — Type: str
-
nbytes — Type: int
-
type_ — Type: ExprType
-
name — Type: str
-
_tmp_id — Type: int