Contents

removeBuffer(IOStreamBufferID)

Removes a buffer from the stream. Buffers cannot be removed while the stream is open, as this will change the buffer IDs of existing buffers.

Declaration

virtual IOReturn removeBuffer(
 IOStreamBufferIDbufferID);

Parameters

  • bufferID:

    The ID of the buffer to remove.

Return Value

Returns kIOReturnSuccess if the buffer was removed.

See Also

Managing buffers in an IOStream