CMBlockBufferCustomBlockSource
A structure to support custom memory allocation and deallocation for a block used in a block buffer.
Declaration
struct CMBlockBufferCustomBlockSourceOverview
This structure allows a client to provide a custom facility for obtaining the memory block to be used in a CMBlockBuffer. You use this structure with functions that accept a memory block allocator.
Topics
Initializers
Properties
See Also
Creating a Block Buffer
CMBlockBufferCreateEmpty(allocator:capacity:flags:blockBufferOut:)CMBlockBufferCreateWithMemoryBlock(allocator:memoryBlock:blockLength:blockAllocator:customBlockSource:offsetToData:dataLength:flags:blockBufferOut:)CMBlockBufferCreateWithBufferReference(allocator:referenceBuffer:offsetToData:dataLength:flags:blockBufferOut:)CMBlockBufferCreateContiguous(allocator:sourceBuffer:blockAllocator:customBlockSource:offsetToData:dataLength:flags:blockBufferOut:)CMBlockBufferFlagsBlock Buffer FlagsCustom Block Source Version