init(count:blockSource:)
Creates a block buffer with count number of bytes.
Declaration
init(count: Int = 0, blockSource: CMMutableDataBlockBuffer.BlockSource? = nil)Parameters
- count:
Number of bytes to allocate in the block buffer.
- blockSource:
Optional source to allocate and deallocate memory for the data blocks.