ffi.exportBuffer(buffer, pointer, length): void
Attributes
Copies bytes from a Buffer into native memory.
length must be at least buffer.length.
pointer must refer to writable native memory with at least length bytes of
available storage. This function does not allocate memory on its own.
buffer must be a Node.js Buffer.