Documentation
¶
Overview ¶
Class attributes struct of Weblang bytcode
Index ¶
Constants ¶
View Source
const AttributeHeaderSize int64 = 17
Size of one AttributeHeader
View Source
const AttributeType_Float uint8 = 0x03
Attribute type: float
View Source
const AttributeType_Int uint8 = 0x02
Attribute type: int
View Source
const AttributeType_ObjReference uint8 = 0x04
Attribute type: object reference (pointer to object)
View Source
const AttributeType_String uint8 = 0x01
Attribute type: string
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Attribute ¶
type Attribute struct { Header *AttributeHeader Value []byte }
Class attribute struct
type AttributeHeader ¶
type AttributeHeader struct { AttributeNameLength int64 // Attribute name length (bytes) AttributeType uint8 // attribute type: string, int, float or objectReference AttributeValueSize int64 // Data size of attribute value in bytes }
Class attributes header struct
Click to show internal directories.
Click to hide internal directories.