JSTypedArrayBytesDeallocator typedef

JSTypedArrayBytesDeallocator = Void Function(Pointer<Void> bytes, Pointer<Void> deallocatorContext)

JSTypedArrayBytesDeallocator A function used to deallocate bytes passed to a Typed Array constructor. The function should take two arguments. The first is a pointer to the bytes that were originally passed to the Typed Array constructor. The second is a pointer to additional information desired at the time the bytes are to be freed.

typedef void (JSTypedArrayBytesDeallocator)(void bytes, void* deallocatorContext);

Implementation

typedef JSTypedArrayBytesDeallocator = Void Function(Pointer<Void> bytes, Pointer<Void> deallocatorContext);