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.12.240512-4d4b2fafd3df13602ccdeccef07b026ccf8b47b0
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