Contents

readBuffers()

Gets the remaining read buffers memory represented as an array of data.

Declaration

func readBuffers() -> [Data]

Return Value

An array of NSData object that represents the remaining read buffers memory.

Discussion

This method gets the remaining read buffers memory, after calling this method, readBuffersAvailableByteCount will be zero, behaving as if you have read all of the read buffers available in the VZVirtioQueueElement.

Here, the memory is represented as scatter-gather buffers directly referencing guest memory without any extra copy.