CMBlockBufferIsEmpty(_:)
Returns a Boolean value that indicates whether the buffer is empty.
Declaration
func CMBlockBufferIsEmpty(_ theBuffer: CMBlockBuffer) -> BoolParameters
- theBuffer:
CMBlockBufferto examine. Must not beNULL.
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.