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