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

Marshal bmp go struct into bytes #241

Open
matthieugouel opened this issue Apr 13, 2024 · 1 comment
Open

Marshal bmp go struct into bytes #241

matthieugouel opened this issue Apr 13, 2024 · 1 comment

Comments

@matthieugouel
Copy link

Hey!

I looking for a way to create BMP message. Rather than unmarshal them into a nice go struct, I would like to start from a go struct and marshal it into bytes.

I was wondering if I could do that via gobmp. Looking at the code, it seems that only the unmarshal direction is implemented, but maybe I'm wrong?

Best.

@matthieugouel
Copy link
Author

My question is still valid of course, but I end up using GoBMP's BMP package which has a Serialize() function.

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