TWDataVector class
A vector of TWData byte arrays
- Inheritance
-
- Object
- TWObject
- TWObjectFinalizable
- TWDataVector
Constructors
- TWDataVector.new({bool attach = true})
- Creates a Vector of Data.
- TWDataVector.createWithData(Uint8List data, {bool attach = true})
- Creates a Vector of Data with the given element
-
TWDataVector.createWithDataList(List<
Uint8List> dataList, {bool attach = true}) - Creates a Vector of Data with the given list of elements
- TWDataVector.fromPointer(int pointer, {bool attach = true})
Properties
- attach → bool
-
Whether the pointer is attached to the object.
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- pointer → int
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- size → int
-
Retrieve the number of elements
no setter
Methods
-
add(
Uint8List data) → void - Add an element to a Vector of Data. Element is cloned
-
delete(
) → void -
Delete/Deallocate a Vector of Data
override
-
get(
int index) → Uint8List? - Retrieve the n-th element.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited