Contents

init(unsafeBlockBuffer:)

Create a readonly block buffer from an existing block buffer.

Declaration

init(unsafeBlockBuffer: sending CMBlockBuffer)

Parameters

  • unsafeBlockBuffer:

    The Cmblockbuffer which will be subsumed by the new instance.

Discussion

This init will make sure that all memory referenced by unsafeBlockBuffer is allocated by calling assureBlockMemory().