ZeroCopyFloat32Buffer class

Zero-copy buffer backed by float* — maps to Float32List.

Typical use: camera depth maps, audio PCM samples, ML model inputs/outputs.

Constructors

ZeroCopyFloat32Buffer(Pointer<Float> ptr, int length, void nativeRelease())

Properties

floats Float32List
Zero-copy Float32List view of native memory.
no setter
hashCode int
The hash code for this object.
no setterinherited
length int
final
ptr Pointer<Float>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
release() → void
Explicitly releases native memory before GC.
inherited
toString() String
A string representation of this object.
inherited

Operators

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