NativeDataStruct class Null safety

Image storage structure for VideoWorker.

Used when interacting with the convertRAW and convertYUV420toImageColor functions. For optimization purposes, memory is allocated once.

Constructors

NativeDataStruct()
NativeDataStruct.withSize(int byteCount)

Properties

bytes ↔ dynamic
read / write
hashCode int
The hash code for this object.
read-only, inherited
isValid bool
read-only
pointer Pointer<Uint8>?
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
size int
read-only

Methods

dispose() → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
resize(int byteCount) → void
toString() String
A string representation of this object.
inherited
write(dynamic data) → void

Operators

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