Skip to content

Conversation

@Toxicable
Copy link
Contributor

Based off this MR for the most part: #89

This allows for saving the current internal offset to a variable returned to the user.

My use case for this is checking that the offset at the end of a dynamic read matches the length of the input buffer.

Taking suggestions on the name of this, im not sold on saveoffset

@keichi
Copy link
Owner

keichi commented Jun 5, 2019

I think saveoffset is fine. How about currentOffset or bytesRead?

@Toxicable
Copy link
Contributor Author

lets go with saveoffset then, I think it'll work

@keichi
Copy link
Owner

keichi commented Jun 8, 2019

Ok, merging

@keichi keichi merged commit 334ce37 into keichi:master Jun 8, 2019
@keichi
Copy link
Owner

keichi commented Jun 8, 2019

@Toxicable I realized the documentation uses saveOffset. Do you wanna go with saveOffset or saveoffset?

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