Skip to content

Adding bytes_utils module in preparation for Encryptor interface changes#176

Merged
avalerio-tkd merged 1 commit into
mainfrom
av_bytes_utils_002
Dec 3, 2025
Merged

Adding bytes_utils module in preparation for Encryptor interface changes#176
avalerio-tkd merged 1 commit into
mainfrom
av_bytes_utils_002

Conversation

@avalerio-tkd

Copy link
Copy Markdown
Collaborator
  • Adding bytes_utils for byte array splitting and joining.
  • Updating encryption_sequencer to use bytes_utils.

- Updating encryption_sequencer to use bytes_utils.

@argmarco-tkd argmarco-tkd left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM - thanks for this! left a few nits, no need for a new PR if/when addressed.

Comment thread src/server/bytes_utils.h
Comment thread src/server/bytes_utils.h
result.value_bytes = Decompress(plaintext, compression_);
result.level_bytes = std::vector<uint8_t>();
return result;
auto level_bytes = std::vector<uint8_t>(); // DICTIONARY_PAGE has no level bytes.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

thanks for the comment!

@avalerio-tkd avalerio-tkd merged commit 3c52dba into main Dec 3, 2025
2 checks passed
@avalerio-tkd avalerio-tkd deleted the av_bytes_utils_002 branch December 3, 2025 22:14
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