Click or drag to resize

JVMBridgeBaseTClassSExecuteWithSignatureStreamTArrayType(IJavaType, String, String) Method

Invokes static method methodName on clazz with 0 arguments and returns a zero-copy stream over the JVM primitive array result.

Namespace: MASES.JCOBridge.C2JBridge
Assembly: C2JBridge (in C2JBridge.dll) Version: 2.6.10.261112-5ffe0920c00dbac056780af7ab9b1978b26ef4a5
Syntax
public static JCOBridgeStream<TArrayType> SExecuteWithSignatureStream<TArrayType>(
	IJavaType clazz,
	string methodName,
	string signature
)
where TArrayType : struct, new()

Parameters

clazz  IJavaType
The IJavaType that owns the static method.
methodName  String
The name of the static method to invoke.
signature  String
The JNI signature used to resolve the overload.

Type Parameters

TArrayType
The .NET primitive type matching the JVM array element type.

Return Value

JCOBridgeStreamTArrayType
A JCOBridgeStreamT backed by native JVM memory, or . Dispose as soon as no longer needed.
See Also