diff options
author | Kelvin Zhang <zhangkelvin@google.com> | 2021-07-24 00:25:03 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2021-07-24 00:25:03 +0000 |
commit | c1c7b9eaa75d93663424bb245395fe00ca0ad233 (patch) | |
tree | 7a09dff0a55fec57ae1ba55d023b5deae612d4fb /patch_writer.cc | |
parent | 7b331f19d984c508be8935bdcab2ab6c267f3b57 (diff) | |
parent | 7a375134b7efc4ea502af075044270ceffc3a6a1 (diff) | |
download | bsdiff-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.cc | 7 |
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 |