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

Define starflate::{copy,copy_n} #109

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Oct 21, 2023

  1. Define starflate::{copy,copy_n}

    `starflate::{copy,copy_n}` are variants of the standard library `copy`
    and `copy_n` algorithms but modified for use in DEFLATE decoding. Both
    of these algorithms specifically handle overlap of the source and
    destination ranges.
    
    `starflate::copy_n` takes an input iterator, distance, and output
    iterator,
    
    `starflate::copy` takes a source range and a destination range,
    returning the unwritten subrange of the destination range.
    
    Change-Id: I756a8416a82f4a2007c7f2461de04353aac667d6
    oliverlee committed Oct 21, 2023
    Configuration menu
    Copy the full SHA
    c2cd62a View commit details
    Browse the repository at this point in the history