| 65 | } |
| 66 | |
| 67 | bool InputBuffer::ReadVarInt32(uint32_t *value) |
| 68 | { |
| 69 | assert(value); |
| 70 | assert(m_Current <= m_End); |
| 71 | |
| 72 | uint64_t tmp; |
| 73 | if (ReadVarInt64(&tmp)) |
| 74 | { |
| 75 | *value = (uint32_t) tmp; |
| 76 | return true; |
| 77 | } |
| 78 | else |
| 79 | { |
| 80 | return false; |
| 81 | } |
| 82 | } |
| 83 | |
| 84 | bool InputBuffer::Eof() |
| 85 | { |
no test coverage detected