Allocator class abstract
- Implementers
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
allocate(
int size) → ByteData -
clear(
ByteData data, bool isFresh) → void - Clear the allocated data contents.
-
deallocate(
ByteData data) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
reallocateDownward(
ByteData oldData, int newSize, int inUseBack, int inUseFront) → ByteData -
Reallocate
newSizebytes of memory, replacing the oldoldData. This grows downwards, and is intended specifically for use with Builder. ParamsinUseBackandinUseFrontindicate how much ofoldDatais actually in use at each end, and needs to be copied. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited