mirror of
https://git.suyu.dev/suyu/breakpad.git
synced 2025-12-27 17:55:29 +01:00
Use stdint types everywhere
R=mark at https://breakpad.appspot.com/535002/ git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1121 4c0a9323-5329-0410-9bdc-e9ce6186880e
This commit is contained in:
parent
c02002a581
commit
aeffe1056f
117 changed files with 1385 additions and 1379 deletions
|
|
@ -56,17 +56,17 @@ class binarystream {
|
|||
: stream_(string(str, size), which) {}
|
||||
|
||||
binarystream &operator>>(string &str);
|
||||
binarystream &operator>>(u_int8_t &u8);
|
||||
binarystream &operator>>(u_int16_t &u16);
|
||||
binarystream &operator>>(u_int32_t &u32);
|
||||
binarystream &operator>>(u_int64_t &u64);
|
||||
binarystream &operator>>(uint8_t &u8);
|
||||
binarystream &operator>>(uint16_t &u16);
|
||||
binarystream &operator>>(uint32_t &u32);
|
||||
binarystream &operator>>(uint64_t &u64);
|
||||
|
||||
// Note: strings are truncated at 65535 characters
|
||||
binarystream &operator<<(const string &str);
|
||||
binarystream &operator<<(u_int8_t u8);
|
||||
binarystream &operator<<(u_int16_t u16);
|
||||
binarystream &operator<<(u_int32_t u32);
|
||||
binarystream &operator<<(u_int64_t u64);
|
||||
binarystream &operator<<(uint8_t u8);
|
||||
binarystream &operator<<(uint16_t u16);
|
||||
binarystream &operator<<(uint32_t u32);
|
||||
binarystream &operator<<(uint64_t u64);
|
||||
|
||||
// Forward a few methods directly from the stream object
|
||||
bool eof() const { return stream_.eof(); }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue