Contents

CMBlockBufferIsEmpty(_:)

Returns a Boolean value that indicates whether the buffer is empty.

Declaration

func CMBlockBufferIsEmpty(_ theBuffer: CMBlockBuffer) -> Bool

Parameters

  • theBuffer:

    CMBlockBuffer to examine. Must not be NULL.

Return Value

False if the CMBlockBuffer is NULL.

Discussion

Determines whether the given CMBlockBuffer is empty, i.e., devoid of any memoryBlocks or CMBlockBuffer references. Note that a CMBlockBuffer containing a not-yet allocated memoryBlock is not considered empty.

See Also

Inspecting a Block Buffer