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

feat(CompactSizeUint): encode/decode writer #28

Merged
merged 3 commits into from
Sep 13, 2024

Conversation

tdelabro
Copy link
Contributor

No description provided.

Comment on lines 160 to 161
const zeroed_buffer = [9]u8{ 0, 0, 0, 0, 0, 0, 0, 0, 0 };
var buffer = [9]u8{ 0, 0, 0, 0, 0, 0, 0, 0, 0 };
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
const zeroed_buffer = [9]u8{ 0, 0, 0, 0, 0, 0, 0, 0, 0 };
var buffer = [9]u8{ 0, 0, 0, 0, 0, 0, 0, 0, 0 };
const zeroed_buffer = [_]u8{0} ** 9;
var buffer = [_]u8{0} ** 9;

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

Comment on lines 197 to 198
const zeroed_buffer = [9]u8{ 0, 0, 0, 0, 0, 0, 0, 0, 0 };
var buffer = [9]u8{ 0, 0, 0, 0, 0, 0, 0, 0, 0 };
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
const zeroed_buffer = [9]u8{ 0, 0, 0, 0, 0, 0, 0, 0, 0 };
var buffer = [9]u8{ 0, 0, 0, 0, 0, 0, 0, 0, 0 };
const zeroed_buffer = [_]u8{0} ** 9;
var buffer = [_]u8{0} ** 9;

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

@tdelabro tdelabro force-pushed the encode-decode-reader-writer branch from 1fbf58f to dd599b9 Compare September 13, 2024 12:38
@tdelabro tdelabro merged commit 3743701 into zig-bitcoin:main Sep 13, 2024
1 check passed
@tdelabro tdelabro deleted the encode-decode-reader-writer branch September 13, 2024 12:43
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