Skip to content

Introduce in JNetReflector ability to use JCOBridgeStream<T> #1012

Description

@masesdevelopers

Is your feature request related to a problem? Please describe.
JCOBridge rc7 contains a great improvement in array management with a zero-copy memory based on JCOBridgeStream<T>; the feature, available around many methods managing native array types, returns a new object able to interact directly within the JVM memory and adds support for Span<T> and ReadOnlySpan<T>.

Describe the solution you'd like
Extends the methods reflected to support the new feature adding, side-by-side, to the current one new methods with Stream trailer which returns JCOBridgeStream<T>; since T has the unmanaged constraint, and internally the type is checked at runtime, the type on JVM shall be checked accordingly.

Describe alternatives you've considered
N/A

Additional context
N/A

Metadata

Metadata

Labels

.NETPull requests that update .net codeJNetReflectorJNetReflector related issuewontfixThis will not be worked on

Fields

No fields configured for Feature.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions