summaryrefslogtreecommitdiff
path: root/patch_writer.cc
diff options
context:
space:
mode:
authorKelvin Zhang <zhangkelvin@google.com>2021-07-24 00:25:03 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2021-07-24 00:25:03 +0000
commitc1c7b9eaa75d93663424bb245395fe00ca0ad233 (patch)
tree7a09dff0a55fec57ae1ba55d023b5deae612d4fb /patch_writer.cc
parent7b331f19d984c508be8935bdcab2ab6c267f3b57 (diff)
parent7a375134b7efc4ea502af075044270ceffc3a6a1 (diff)
downloadbsdiff-c1c7b9eaa75d93663424bb245395fe00ca0ad233.tar.gz
Merge "Expose PatchWriter for consumption"android-s-beta-5android-s-beta-5
Diffstat (limited to 'patch_writer.cc')
-rw-r--r--patch_writer.cc7
1 files changed, 0 insertions, 7 deletions
diff --git a/patch_writer.cc b/patch_writer.cc
index 52982e0..b7d9b08 100644
--- a/patch_writer.cc
+++ b/patch_writer.cc
@@ -15,13 +15,6 @@
namespace {
-void EncodeInt64(int64_t x, uint8_t* buf) {
- uint64_t y = x < 0 ? (1ULL << 63ULL) - x : x;
- for (int i = 0; i < 8; ++i) {
- buf[i] = y & 0xff;
- y /= 256;
- }
-}
} // namespace