Sets the given callback function on the buffer. This function will be called every time a segment has been written to a device.
MT safe.
the callback to set
Sets the given callback function on the buffer. This function will be called every time a segment has been written to a device.
MT safe.