JSTypedArrayBytesDeallocator typedef

Void JSTypedArrayBytesDeallocator (
  1. Pointer<NativeType> bytes,
  2. Pointer<NativeType> deallocatorContext

typedef 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);


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