Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3520)

Unified Diff: base/big_endian.h

Issue 427153002: Add unsigned 64-bit integer support to BigEndianReader and BigEndianWriter. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | base/big_endian.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/big_endian.h
diff --git a/base/big_endian.h b/base/big_endian.h
index 35df5e797760dcf346759c32069eb79e378b4c5d..914767f4286e0959b2d5112e101c830289ae68d0 100644
--- a/base/big_endian.h
+++ b/base/big_endian.h
@@ -63,6 +63,7 @@ class BASE_EXPORT BigEndianReader {
bool ReadU8(uint8* value);
bool ReadU16(uint16* value);
bool ReadU32(uint32* value);
+ bool ReadU64(uint64* value);
private:
// Hidden to promote type safety.
@@ -87,6 +88,7 @@ class BASE_EXPORT BigEndianWriter {
bool WriteU8(uint8 value);
bool WriteU16(uint16 value);
bool WriteU32(uint32 value);
+ bool WriteU64(uint64 value);
private:
// Hidden to promote type safety.
« no previous file with comments | « no previous file | base/big_endian.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698