getSize method
Implementation
int getSize(Pointer<Uint64> size) => ptr.ref.vtable
.elementAt(6)
.cast<
Pointer<
NativeFunction<Int32 Function(Pointer, Pointer<Uint64> size)>>>()
.value
.asFunction<
int Function(Pointer, Pointer<Uint64> size)>()(ptr.ref.lpVtbl, size);