RingBuffer class

Mixed-in types

Constructors

RingBuffer({required int capacity, Memory? memory})

Properties

capacity int
final
hashCode int
The hash code for this object.
no setterinherited
isDisposed bool
Whether this resource is already disposed.
no setterinherited
length int
no setter
memory Memory
final
resourceId int
The unique identifier of this resource.
latefinalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

clear() → void
clearResourceFinalizer() → void
Clears the finalizer for this resource.
inherited
copyTo(RingBuffer output, {required bool advance}) int
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
read(Pointer<Void> pOutput, int offset, int size, {bool advance = true}) int
setResourceFinalizer<T>(void onFinalize()) → void
Sets a finalizer for this resource.
inherited
throwIfDisposed() → void
Throws an AudioResourceDisposedException if this resource is already disposed.
inherited
toString() String
A string representation of this object.
inherited
write(Pointer<Void> pInput, int offset, int size) int

Operators

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