| 119 | } |
| 120 | |
| 121 | inline bool ScannerContext::Stream::ReadBoolean(bool* b, Status* status) { |
| 122 | uint8_t* val; |
| 123 | RETURN_IF_FALSE(ReadBytes(1, &val, status)); |
| 124 | *b = (*val != 0); |
| 125 | return true; |
| 126 | } |
| 127 | |
| 128 | inline bool ScannerContext::Stream::ReadInt(int32_t* val, Status* status, bool peek) { |
| 129 | uint8_t* bytes; |
no outgoing calls
no test coverage detected