deallocate
TypeScriptget deallocate(): ((arg0: ArrayBuffer) => Promise<void>)Swift declarationvar deallocate: @Sendable (UnsafeMutableRawBufferPointer) -> Voidstruct · iOS 26.0+ · SDK 27.1
struct BlockSourceProvides ability to allocate memory for blocks using custom allocator
get deallocate(): ((arg0: ArrayBuffer) => Promise<void>)Swift declarationvar deallocate: @Sendable (UnsafeMutableRawBufferPointer) -> Voidset deallocate(value: ((arg0: ArrayBuffer) => void))Swift declarationvar deallocate: @Sendable (UnsafeMutableRawBufferPointer) -> Voidget allocate(): ((arg0: number) => Promise<ArrayBuffer>)Swift declarationvar allocate: @Sendable (Int) -> UnsafeMutableRawBufferPointer2 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
CMMutableDataBlockBuffer.BlockSource.allocate
closure property answers its caller
CMMutableDataBlockBuffer.BlockSource.init(allocate:deallocate:)
callback cannot propagate synchronous failure