Uint8Arena class

Inheritance
  • Object
  • Arena<Uint8, Uint8List>
  • Uint8Arena

Constructors

Uint8Arena(int length)
Uint8Arena.fromPtr(Pointer<Uint8> ptr, int length)

Properties

freeSpace → int
Left free space of Arena.
read-only, inherited
hashCode → int
The hash code for this object. [...]
read-only, inherited
length → int
Total length of allocated memory
final, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

delete() → void
Deletes all allocated memory.
inherited
newArray(int length) Array<Uint8, Uint8List>
Returns a slice of length from the pre-allocated array of Arena. When length exceeds freeSpace it throws a RangeError.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator. [...]
inherited