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

Supporting shared dictionary feature #27

Open
horo-t opened this issue Jul 21, 2023 · 1 comment
Open

Supporting shared dictionary feature #27

horo-t opened this issue Jul 21, 2023 · 1 comment

Comments

@horo-t
Copy link

horo-t commented Jul 21, 2023

Hi. I'm Tsuyoshi Horo working on Compression Dictionary Transport feature in Chromium.

SharedDictionary feature which supports Shared Brotli Compressed Data Format was merged in the C and Java implementation under google/brotli on Aug 4, 2021.

Is there any plans to support the SharedDictionary feature in the rust implementation?

Thank you.

@danielrh
Copy link
Collaborator

Is the current dict support insufficient? Did Brotli change that feature?

if argument.starts_with("-dict=") && !double_dash {
  let mut dict_file = File::open(&Path::new(&argument[6..])).unwrap();
  dict_file.read_to_end(&mut dictionary).unwrap();
  continue;
}

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

2 participants