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 for more base types? #8

Open
jw3126 opened this issue Dec 3, 2021 · 2 comments
Open

Support for more base types? #8

jw3126 opened this issue Dec 3, 2021 · 2 comments

Comments

@jw3126
Copy link

jw3126 commented Dec 3, 2021

A bit similar to #7

obj = 1:10
LightBSON.bson_write(path, obj)
LightBSON.bson_read(typeof(obj),path)

throws an error:

KeyError: key :start not found

Should ranges and other common types from Base work out of the box? Or is this out of scope?

@ancapdev
Copy link
Owner

ancapdev commented Dec 3, 2021

Ranges specifically may be encoded as arrays, but in general the scope is limited to BSON representable types.

@jw3126
Copy link
Author

jw3126 commented Dec 3, 2021

Ok thanks, I now have a better picture of the score of this package!

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

2 participants