mirror of
https://github.com/expo/bsdiff.git
synced 2026-11-14 08:38:17 -10:00
Add a wrapper class to separate the patch read from data stream decompression. Therefore, bspatch will be able to process the patch that is compressed with various tools. Test: unittest pass Change-Id: I5214e0451bde80366e8a70b960703afb2b2a7d97
17 lines
333 B
C++
17 lines
333 B
C++
// Copyright 2017 The Chromium OS Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style license that can be
|
|
// found in the LICENSE file.
|
|
|
|
#ifndef _BSDIFF_UTILS_H_
|
|
#define _BSDIFF_UTILS_H_
|
|
|
|
#include <stdint.h>
|
|
|
|
namespace bsdiff {
|
|
|
|
int64_t ParseInt64(const uint8_t* buf);
|
|
|
|
} // namespace bsdiff
|
|
|
|
#endif
|