NativeBufferPool class final
Reuses native buffers by exact byte size.
Constructors
- NativeBufferPool({int maxPerSize = 8})
Properties
- cached → int
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- maxPerSize → int
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
acquire(
int length, {bool zero = false}) → NativeBuffer -
clear(
) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
release(
NativeBuffer buffer) → void -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited