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

of/to_cstruct(_exn), of/to_cstruct_raw for V4/V6. #44

Closed
wants to merge 1 commit into from

Conversation

yomimono
Copy link

Add V4.of_cstruct_exn, V4.of_cstruct_raw, V6.of_cstruct_exn, V6.of_cstruct_raw; also attendant tests and dependency on cstruct library.

This diff is artificially inflated from having rerun oasis with a newer version to regenerate setup.ml and _tags to capture the dependency on the cstruct library.

@hannesm
Copy link
Member

hannesm commented Jan 23, 2015

while at it, of_cstruct : Cstruct.t -> t option would be really handy to have (there is of_string / of_bytes (where the latter is a rather bad example since it catches all exceptions (with _ -> None)))...

@hannesm
Copy link
Member

hannesm commented Jan 23, 2015

and then there's #36 as well...

@yomimono
Copy link
Author

thanks for the link to #36 , @hannesm - obviously I missed all of that

@yomimono yomimono closed this Jan 23, 2015
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

Successfully merging this pull request may close these issues.

2 participants