StructString class final

Represents a fixed-length string type for struct fields.

Inheritance
Implemented types
Available extensions

Constructors

StructString.new()

Properties

address Pointer<T>

Available on T, provided by the StructAddress extension

The memory address of the underlying data.
no setter
capacity int
The capacity of the string.
getter/setter pair
data Pointer<Uint8>
Pointer to the data of the string.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
length int
The length of the string.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

dispose() → void
Disposes the allocated memory for the string.
getValue() String
Gets the value of the string.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setValue(String value) → void
Sets the value of the string.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

create(int capacity) Pointer<StructString>
Creates a new StructString with the given capacity.
override