Files
Tianjie Xu 6528812247 Add an interface for bspatch reader
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
2017-10-26 14:50:34 -07:00

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