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

Data location and length #40

Closed
zjjxxsh opened this issue Oct 22, 2024 · 1 comment
Closed

Data location and length #40

zjjxxsh opened this issue Oct 22, 2024 · 1 comment

Comments

@zjjxxsh
Copy link

zjjxxsh commented Oct 22, 2024

##It's not a malfunction, it's a question.

How does this library work? When I am writing, I can select the data type and write easily. But when I'm reading, especially for String, how does it work to make sure that what is read is exactly the length of what I wrote before? I'd like to make sure there aren't any surprises that could happen to cause it to over-read.

@nseidle
Copy link
Member

nseidle commented Oct 22, 2024

See the pertinent code here. We are just scanning for the null terminator.

@nseidle nseidle closed this as completed Oct 22, 2024
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