Click or drag to resize

JCOBridgeDirectBufferTToArrayTArray(TArray, Boolean) Method

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

Namespace: MASES.JCOBridge.C2JBridge
Assembly: C2JBridge (in C2JBridge.dll) Version: 2.5.13.240514-86ea0fe57add44a0d4dc719a1a99f3379a320f2e
Syntax
public void ToArray<TArray>(
	ref TArray[] array,
	bool resizeToFill = true
)

Parameters

array  TArray
The array to be filled with the content of the https://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html
resizeToFill  Boolean  (Optional)
Resize array to contain all data available in the https://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html

Type Parameters

TArray
The Type to be used: it can be any Byte, Int16, Int32, Int64, Single, Double or a type defined as a struct
See Also