append(buffer:allocator:flags:)
Adds a memory block to a block buffer using a custom allocator.
Declaration
func append(buffer: UnsafeMutableRawBufferPointer, allocator: CFAllocator? = kCFAllocatorDefault, flags: CMBlockBuffer.Flags = []) throwsParameters
- buffer:
A block of memory to hold buffered data.
- allocator:
An object that allocates a memory block.
- flags:
Feature and control flags.
See Also
Modifying a Block Buffer
append(length:allocator:range:flags:)append(buffer:allocator:flags:)append(length:allocator:deallocator:range:flags:)append(buffer:deallocator:flags:)append(buffer:deallocator:flags:)CMBlockBuffer.CustomBlockAllocatorCMBlockBuffer.CustomBlockDeallocatorappend(bufferReference:flags:)assureBlockMemory()withUnsafeMutableBytes(atOffset:_:)