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.21.241219-a6a144ea07c497c3a9a1be842408e852afb458be
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