Contents

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 = []) throws

Parameters

  • 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