dataPtr property

Pointer<U8> get dataPtr

Get the data pointer of the Mat

DO NOT free the pointer, the native memory is managed by Mat

Implementation

ffi.Pointer<U8> get dataPtr => ccore.Mat_Data(ref).cast<U8>();