From 7a375134b7efc4ea502af075044270ceffc3a6a1 Mon Sep 17 00:00:00 2001 From: Kelvin Zhang Date: Thu, 15 Jul 2021 16:42:15 -0400 Subject: Expose PatchWriter for consumption Test: th Change-Id: I1d0657bc886967e73b926fae13300bd401696d6a --- patch_writer.cc | 7 ------- 1 file changed, 7 deletions(-) (limited to 'patch_writer.cc') 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 -- cgit v1.2.3