| 17 | } |
| 18 | |
| 19 | inline i64 Read(void* userBuffer, i64 size) { |
| 20 | if (size <= Max<int>()) { |
| 21 | return ReadImpl(userBuffer, static_cast<int>(size)); |
| 22 | } else { |
| 23 | return LongRead(userBuffer, size); |
| 24 | } |
| 25 | } |
| 26 | |
| 27 | virtual bool IsValid() const = 0; |
| 28 | virtual bool IsFailed() const = 0; |
no outgoing calls
no test coverage detected