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

Store binary data as HEX or OCT #8

Closed
end2endzone opened this issue Nov 26, 2017 · 2 comments
Closed

Store binary data as HEX or OCT #8

end2endzone opened this issue Nov 26, 2017 · 2 comments

Comments

@end2endzone
Copy link
Owner

Test if it is better to store binary data using hex representation \x0D of the octal representation \015
Note that google Protocol Buffer seems to use octal representation instead of hex

@end2endzone
Copy link
Owner Author

From https://stackoverflow.com/questions/10220401/rules-for-c-string-literals-escape-character
Octal might be preferred: In the case of \x, the hex digits will be read 'greedily' until the first non-hex digit (that is, not limited to 2 as you might expect)

@end2endzone
Copy link
Owner Author

Code corrections will be implemented in issue #14.

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

No branches or pull requests

1 participant