Expand description
this module is a work in progress and is currently used by me to pass Vec
Constants§
Functions§
- detach the array buffer and return it, after this the TypedArray is no longer usable in JS (or at least all items will return undefined)
- detach the array buffer and return it, after this the TypedArray is no longer usable in JS (or at least all items will return undefined)
- get the underlying ArrayBuffer of a TypedArray
- Get a copy of the underlying array buffer and return it unlike when using detach_array_buffer_buffer_q the TypedArray is still intact after using this the operation is just more expensive because the Vec is cloned
- Get a copy of the underlying array buffer and return it unlike when using detach_array_buffer_buffer_q the TypedArray is still intact after using this the operation is just more expensive because the Vec is cloned
- get the underlying ArrayBuffer of a TypedArray
- check if a ref is an ArrayBuffer
- check if a ref is a TypedArray
- this method creates a new ArrayBuffer which is used as a basis for all typed arrays the buffer vec is stored and used in js, when it is no longer needed it is dropped
- create an array buffer with a copy of the data in a Vec
- create an array buffer with a copy of the data in a Vec
- this method creates a new ArrayBuffer which is used as a basis for all typed arrays the buffer vec is stored and used in js, when it is no longer needed it is dropped
- create a new TypedArray with a buffer, the buffer is consumed and can be reclaimed later by calling detach_array_buffer_buffer_q
- create a new TypedArray with a buffer, the buffer is copied and that copy can be reclaimed later by calling detach_array_buffer_buffer_q
- create a new TypedArray with a buffer, the buffer is copied and that copy can be reclaimed later by calling detach_array_buffer_buffer_q
- create a new TypedArray with a buffer, the buffer is consumed and can be reclaimed later by calling detach_array_buffer_buffer_q