| Index: net/quic/quic_data_reader.cc
|
| diff --git a/net/quic/quic_data_reader.cc b/net/quic/quic_data_reader.cc
|
| index b9a6acf32f5b28c442caf18ba17d93ebc912be8f..7542c8311398143b9c49679f3d695b211df61c07 100644
|
| --- a/net/quic/quic_data_reader.cc
|
| +++ b/net/quic/quic_data_reader.cc
|
| @@ -25,43 +25,10 @@ bool QuicDataReader::ReadUInt32(uint32* result) {
|
| return ReadBytes(result, sizeof(*result));
|
| }
|
|
|
| -bool QuicDataReader::ReadUInt48(uint64* result) {
|
| - uint32 lo;
|
| - if (!ReadUInt32(&lo)) {
|
| - return false;
|
| - }
|
| -
|
| - uint16 hi;
|
| - if (!ReadUInt16(&hi)) {
|
| - return false;
|
| - }
|
| -
|
| - *result = hi;
|
| - *result <<= 32;
|
| - *result += lo;
|
| -
|
| - return true;
|
| -}
|
| -
|
| bool QuicDataReader::ReadUInt64(uint64* result) {
|
| return ReadBytes(result, sizeof(*result));
|
| }
|
|
|
| -bool QuicDataReader::ReadUInt128(uint128* result) {
|
| - uint64 high_hash;
|
| - uint64 low_hash;
|
| -
|
| - if (!ReadUInt64(&low_hash)) {
|
| - return false;
|
| - }
|
| - if (!ReadUInt64(&high_hash)) {
|
| - return false;
|
| - }
|
| -
|
| - *result = uint128(high_hash, low_hash);
|
| - return true;
|
| -}
|
| -
|
| bool QuicDataReader::ReadUFloat16(uint64* result) {
|
| uint16 value;
|
| if (!ReadUInt16(&value)) {
|
|
|