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

BufferUtils.ensureCapacity now clears the input buffer #63

Closed
dweiss opened this issue Sep 9, 2015 · 0 comments
Closed

BufferUtils.ensureCapacity now clears the input buffer #63

dweiss opened this issue Sep 9, 2015 · 0 comments
Assignees
Milestone

Comments

@dweiss
Copy link
Member

dweiss commented Sep 9, 2015

It'd be better to check for remaining space in the buffer and not require buffers to be at position() == 0

@dweiss dweiss self-assigned this Sep 9, 2015
@dweiss dweiss added this to the 2.1.0 milestone Sep 9, 2015
@dweiss dweiss changed the title BufferUtils.ensureCapacity doesn't make much sense BufferUtils.ensureCapacity now clears the input buffer Feb 17, 2016
@dweiss dweiss closed this as completed in f9592c5 Feb 17, 2016
dweiss added a commit that referenced this issue Feb 17, 2016
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