Skip to content

Allow export of managed buffers via C API #111

@CurtHagenlocher

Description

@CurtHagenlocher

Describe the enhancement requested

You can't export buffers backed by ReadOnlyMemory instead of IMemoryOwner.
You can't continue to access the array from C# after exporting it.

If it's not possible to implement these things "safely", then at least there should be an opt-in way to do them "unsafely".

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions