Contents

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) -> OSStatus

Parameters

  • fillByte:

    The data byte with which to fill the destination buffer.

  • destinationBuffer:

    CMBlockBuffer into 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