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

s2: Add EncodeBuffer buffer recycling callback #982

Merged
merged 1 commit into from
Jul 26, 2024

Commits on Jul 26, 2024

  1. s2: Add EncodeBuffer buffer recycling callback

    WriterBufferDone will perform a callback when EncodeBuffer has finished
    writing a buffer to the output and the buffer can safely be reused.
    
    If the buffer was split into several blocks, it will be sent after the last block.
    
    Callbacks will not be done concurrently.
    
    Fixes #981
    klauspost committed Jul 26, 2024
    Configuration menu
    Copy the full SHA
    05f6d90 View commit details
    Browse the repository at this point in the history