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

ByteBuffer amazingly fails to document that it's a value type :) #3037

Open
weissi opened this issue Dec 19, 2024 · 0 comments
Open

ByteBuffer amazingly fails to document that it's a value type :) #3037

weissi opened this issue Dec 19, 2024 · 0 comments

Comments

@weissi
Copy link
Member

weissi commented Dec 19, 2024

The ByteBuffer docs fail to mention that it's a value type. We should fix that.

Given that BB also has a few tricks up its sleeve (reader/writerIndex, self-slicing are part of the struct) we should also add that you can perform some mutations without even suffering CoW :)

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