Allocator class abstract

Implementers

Constructors

Allocator()

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 newSize bytes of memory, replacing the old oldData. This grows downwards, and is intended specifically for use with Builder. Params inUseBack and inUseFront indicate how much of oldData is 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