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

hashCode int
The hash code for this object.
no setterinherited
no setter
ptr Pointer<SherpaOnnxCircularBuffer>
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size int
no setter

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