Click or drag to resize

UnmanagedBufferCopyCircular(UnmanagedBuffer, Int64, Byte, Int32, Int32) Method

Copies data from a circular buffer to a managed array.

Namespace: Ookii.Jumbo
Assembly: Ookii.Jumbo (in Ookii.Jumbo.dll) Version: 0.3.0+dc1307f20e065bb638e0b73a34cd216f57e486f1
Syntax
public static long CopyCircular(
	UnmanagedBuffer source,
	long sourceIndex,
	byte[] destination,
	int destinationIndex,
	int count
)

Parameters

source  UnmanagedBuffer
The UnmanagedBuffer containing the data to copy.
sourceIndex  Int64
The index in source to start copying at.
destination  Byte
The managed byte array to copy the data to.
destinationIndex  Int32
The index in destination to start copying at.
count  Int32
The number of bytes to copy.

Return Value

Int64
The next index position after writing the data.
See Also