![]() |
Flutter Engine
The Flutter Engine
|
#include <WasmCommon.h>
Public Member Functions | |
JSSpan (JSArray src) | |
JSSpan (WASMPointer ptr, size_t len, bool takeOwnership) | |
~JSSpan () | |
const T * | data () const |
size_t | size () const |
Gives read access to a JSArray
We explicitly use malloc/free (not new/delete) so this can be used with allocations from the JS side (ala CanvasKit.Malloc).
Definition at line 89 of file WasmCommon.h.
Definition at line 93 of file WasmCommon.h.
|
inline |
Definition at line 118 of file WasmCommon.h.
Definition at line 122 of file WasmCommon.h.
Definition at line 128 of file WasmCommon.h.
Definition at line 129 of file WasmCommon.h.