RingBuffer class

General Library Documentation Undocument By General Corporation & Global Corporation & General Developer

Mixed-in types

Constructors

RingBuffer.new({required int capacity, Memory? memory})
General Library Documentation Undocument By General Corporation & Global Corporation & General Developer

Properties

capacity int
General Library Documentation Undocument By General Corporation & Global Corporation & General Developer
final
hashCode int
The hash code for this object.
no setterinherited
isDisposed bool
Whether this resource is already disposed.
no setterinherited
length int
General Library Documentation Undocument By General Corporation & Global Corporation & General Developer
no setter
memory Memory
General Library Documentation Undocument By General Corporation & Global Corporation & General Developer
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
General Library Documentation Undocument By General Corporation & Global Corporation & General Developer
clearResourceFinalizer() → void
Clears the finalizer for this resource.
inherited
copyTo(RingBuffer output, {required bool advance}) int
General Library Documentation Undocument By General Corporation & Global Corporation & General Developer
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
General Library Documentation Undocument By General Corporation & Global Corporation & General Developer
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
General Library Documentation Undocument By General Corporation & Global Corporation & General Developer

Operators

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