CMBlockBufferFillDataBytes(with:blockBuffer:offsetIntoDestination:dataLength:)
Fills the destination buffer with the specified data byte.
Declaration
func CMBlockBufferFillDataBytes(with fillByte: CChar, blockBuffer destinationBuffer: CMBlockBuffer, offsetIntoDestination: Int, dataLength: Int) -> OSStatusParameters
- fillByte:
The data byte with which to fill the destination buffer.
- destinationBuffer:
CMBlockBufferinto which the data bytes are filled. - offsetIntoDestination:
Start of data area for the buffer.
- dataLength:
Length of the valid data area for the buffer.
Return Value
Returns kCMBlockBufferNoErr if successful.
See Also
Modifying a Block Buffer
CMBlockBufferAppendMemoryBlock(_:memoryBlock:length:blockAllocator:customBlockSource:offsetToData:dataLength:flags:)CMBlockBufferAppendBufferReference(_:targetBBuf:offsetToData:dataLength:flags:)CMBlockBufferAssureBlockMemory(_:)CMBlockBufferAccessDataBytes(_:atOffset:length:temporaryBlock:returnedPointerOut:)CMBlockBufferCopyDataBytes(_:atOffset:dataLength:destination:)CMBlockBufferReplaceDataBytes(with:blockBuffer:offsetIntoDestination:dataLength:)