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 long collections #32

Open
jfheins opened this issue Nov 24, 2021 · 0 comments
Open

Support long collections #32

jfheins opened this issue Nov 24, 2021 · 0 comments

Comments

@jfheins
Copy link

jfheins commented Nov 24, 2021

Hi,
I tried to use your nuget package as I was looking for a fast and compact serializer & deserializer. When I tried to serialize a large 2D array of ushort, it did not work properly.

The reason is that I want to serialize 5 million values and as a 2D array is not supported, I put them into a 1D array.
But then the length seems to be limited to int16.

It would be nice to annotate (potentially) long collections to have a 4 byte (or even 8 byte) length field.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant