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

use slices for buffer handling in Mina #3641

Merged
merged 3 commits into from
Dec 17, 2024

Conversation

awildturtok
Copy link
Collaborator

No description provided.

@awildturtok awildturtok requested a review from thoniTUB December 16, 2024 11:00
@awildturtok awildturtok force-pushed the feature/simplify-buffer-handling branch from 48ddc1a to 7f9f72f Compare December 16, 2024 11:32
buf.position(oldPos);
buf.putInt(newPos - oldPos - 4);
buf.position(newPos);
buf.putInt(0, objectSize);

buf.flip();
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

müsste ich hier nicht auch einfach position(0) sagen können?

Copy link
Collaborator

@thoniTUB thoniTUB left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sehr cool, das machts noch einfacher zu lesen

@thoniTUB thoniTUB merged commit 85fa37d into develop Dec 17, 2024
6 checks passed
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