Attribute
Allocate a new Attribute.
This instance will be allocated on the native heap and automatically freed when this class instance is garbage collected.
Allocate a new Attribute using the provided AutofreeScope.
The AutofreeScope manages the allocation lifetime. The most common usage is with memScoped
.
Parameters
The AutofreeScope to allocate this structure in.
Allocate a new Attribute.
This instance will be allocated on the native heap and automatically freed when this class instance is garbage collected.
Parameters
the class structure holding information about the type of the attribute
the start index of the range (in bytes).
end index of the range (in bytes). The character at this index is not included in the range.
Allocate a new Attribute using the provided AutofreeScope.
The AutofreeScope manages the allocation lifetime. The most common usage is with memScoped
.
Parameters
the class structure holding information about the type of the attribute
the start index of the range (in bytes).
end index of the range (in bytes). The character at this index is not included in the range.
The AutofreeScope to allocate this structure in.