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

Question about the separator of cmsgpack data #65

Open
ffbh123456 opened this issue May 18, 2021 · 0 comments
Open

Question about the separator of cmsgpack data #65

ffbh123456 opened this issue May 18, 2021 · 0 comments

Comments

@ffbh123456
Copy link

I want to store some lua table data in a file. I use cmsgpack.pack(table) to convert it into a binary string, and then write it into the file. But I encountered a separator problem. I tried to use '\n' as the separator at first, but I found that the binary string may also contain the separator '\n' , which made me unable to read the binary file correctly.

How should I store and use what delimiter to divide the data?

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