-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Update Base64 variable names for better readability #11299
base: main
Are you sure you want to change the base?
Conversation
✅ Deploy Preview for meta-velox canceled.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Joe-Abraham The header refactor seems to be missing some code comments.
Can you clarify? Thanks.
@@ -32,125 +29,100 @@ class Base64 { | |||
static const size_t kCharsetSize = 64; | |||
static const size_t kReverseIndexSize = 256; | |||
|
|||
/// Character set used for encoding purposes. | |||
/// Contains specific characters that form the encoding scheme. | |||
/// Character set used for Base64 encoding. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Joe-Abraham why remove /// Contains specific characters that form the encoding scheme.
?
using Charset = std::array<char, kCharsetSize>; | ||
|
||
/// Reverse lookup table for decoding purposes. | ||
/// Maps each possible encoded character to its corresponding numeric value | ||
/// within the encoding base. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why remove the other comments?
Follow-up PR: #10371
The following changes are done in this PR.