Contents

append(buffer:deallocator:flags:)

Adds a memory block to a block buffer with a custom deallocator.

Declaration

func append(buffer: UnsafeMutableRawBufferPointer, deallocator: @escaping  CMBlockBuffer.CustomBlockDeallocator, flags: CMBlockBuffer.Flags = []) throws

Parameters

  • buffer:

    A block of memory to hold buffered data.

  • deallocator:

    An object that deallocates a memory block.

  • flags:

    Feature and control flags.

See Also

Modifying a Block Buffer