CircularBuffer class
Constructors
- CircularBuffer.new({required int capacity})
-
The user has to invoke CircularBuffer.free() on the returned instance
to avoid memory leak.
factory
-
CircularBuffer.fromPtr({required Pointer<
SherpaOnnxCircularBuffer> ptr})
Properties
Methods
-
free(
) → void -
get(
{required int startIndex, required int n}) → Float32List -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
pop(
int n) → void -
push(
Float32List data) → void -
reset(
) → void -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited