Click or drag to resize

JCOBridgeDirectBufferTCopyTo Method

Fills the destination with the copy of the memory this JCOBridgeDirectBufferT instance is holding

Namespace: MASES.JCOBridge.C2JBridge
Assembly: C2JBridge (in C2JBridge.dll) Version: 2.5.21.241219-a6a144ea07c497c3a9a1be842408e852afb458be
Syntax
public long CopyTo(
	IntPtr destination,
	long destinationSize,
	long startPosition,
	long length
)

Parameters

destination  IntPtr
The IntPtr describing the memory pointer data shall be written with the content of the https://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html
destinationSize  Int64
The available memory size of destination
startPosition  Int64
The position within the https://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html where the copy shall start
length  Int64
The number of bytes to be copied from the https://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html into destination

Return Value

Int64
The bytes copied
See Also