mirror of
https://github.com/google/brotli.git
synced 2026-07-08 17:56:58 +00:00
[PR #83] [MERGED] Encoder implementation using input/output classes. #685
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/google/brotli/pull/83
Author: @szabadka
Created: 4/23/2015
Status: ✅ Merged
Merged: 4/23/2015
Merged by: @szabadka
Base:
master← Head:master📝 Commits (1)
3dbe2e0Encoder implementation using input/output classes.📊 Changes
4 files changed (+338 additions, -150 deletions)
View changed files
📝
enc/context.h(+1 -1)📝
enc/encode.cc(+295 -126)📝
enc/encode.h(+35 -0)📝
tools/bro.cc(+7 -23)📄 Description
Add a BrotliCompress() method to the public encoder API
that uses the BrotliIn and BrotliOut classes and use
that in the 'bro' command-line tool.
Use the streaming api in BrotliCompressBuffer() and
BrotliCompressor::WriteMetaBlock().
Use the appropiate hashers for quality <= 9.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.