DefaultAllocator class

Inheritance

Constructors

DefaultAllocator()

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
override
clear(ByteData data, bool isFresh) → void
Clear the allocated data contents.
override
deallocate(ByteData _) → void
override
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.
inherited
toString() String
A string representation of this object.
inherited

Operators

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