Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support ReadOnlySpan<T> and ReadOnlyMemory<T> #236

Open
brechtvb opened this issue Oct 23, 2022 · 1 comment
Open

Support ReadOnlySpan<T> and ReadOnlyMemory<T> #236

brechtvb opened this issue Oct 23, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@brechtvb
Copy link

brechtvb commented Oct 23, 2022

Would it be possible to support

ReadOnlySpan
ReadOnlyMemory
ReadOnlySpan2D
ReadOnlyMemory2D

Hdf5Dataset::WriteDatasetFromArray(...)

Preferrably without any allocation. It might require unsafe { } and creating an IntPtr from that.

@LiorBanai
Copy link
Owner

Hi @brechtvb I can see the added value for this.

@LiorBanai LiorBanai added the enhancement New feature or request label Oct 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants