Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: node
Fetching contributors…

Cannot retrieve contributors at this time

file 23 lines (15 sloc) 0.686 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
// Copyright (c) 2009 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

// Byte level differential compression algorithm used by Courgette.

#ifndef COURGETTE_SIMPLE_DELTA_H_
#define COURGETTE_SIMPLE_DELTA_H_

#include "courgette/courgette.h"
#include "courgette/streams.h"

namespace courgette {

Status ApplySimpleDelta(SourceStream* old, SourceStream* delta,
                        SinkStream* target);

Status GenerateSimpleDelta(SourceStream* old, SourceStream* target,
                           SinkStream* delta);

} // namespace courgette

#endif // COURGETTE_SIMPLE_DELTA_H_
Something went wrong with that request. Please try again.