| UnmanagedBufferCopyCircular Method (UnmanagedBuffer, Int64, Byte, Int32, Int32) |
Copies data from a circular buffer to a managed array.
Namespace:
Ookii.Jumbo
Assembly:
Ookii.Jumbo (in Ookii.Jumbo.dll) Version: 2.0.0
Syntax public static long CopyCircular(
UnmanagedBuffer source,
long sourceIndex,
byte[] destination,
int destinationIndex,
int count
)
Public Shared Function CopyCircular (
source As UnmanagedBuffer,
sourceIndex As Long,
destination As Byte(),
destinationIndex As Integer,
count As Integer
) As Long
public:
static long long CopyCircular(
UnmanagedBuffer^ source,
long long sourceIndex,
array<unsigned char>^ destination,
int destinationIndex,
int count
)
static member CopyCircular :
source : UnmanagedBuffer *
sourceIndex : int64 *
destination : byte[] *
destinationIndex : int *
count : int -> int64
Parameters
- source
- Type: Ookii.JumboUnmanagedBuffer
The UnmanagedBuffer containing the data to copy. - sourceIndex
- Type: SystemInt64
The index in source to start copying at. - destination
- Type: SystemByte
The managed byte array to copy the data to. - destinationIndex
- Type: SystemInt32
The index in destination to start copying at. - count
- Type: SystemInt32
The number of bytes to copy.
Return Value
Type:
Int64The next index position after writing the data.
See Also