From 7215c46d1ec59a7db7f4b92097b7d63abe9b9584 Mon Sep 17 00:00:00 2001 From: Stefan Boberg Date: Mon, 6 Sep 2021 19:01:16 +0200 Subject: Change Compact Binary Package API to represent binary attachments as compressed buffers identified by their raw hash. Change Compact Binary Package serialization for binary attachments to compressed buffers and objects as objects followed by their hash. Ported changes from Zousar's pending CL17372417 --- zencore/compactbinary.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'zencore/compactbinary.cpp') diff --git a/zencore/compactbinary.cpp b/zencore/compactbinary.cpp index 5fe7f272d..b508d8fe8 100644 --- a/zencore/compactbinary.cpp +++ b/zencore/compactbinary.cpp @@ -12,7 +12,7 @@ namespace zen { -const int DaysToMonth[] = {0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334, 365}; +const int DaysToMonth[] = {0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334, 365}; bool IsLeapYear(int Year) -- cgit v1.2.3