| 147 | |
| 148 | |
| 149 | __hot slice slice_istream::readAtMost(size_t nBytes) noexcept { |
| 150 | nBytes = std::min(nBytes, size); |
| 151 | slice result(buf, nBytes); |
| 152 | skip(nBytes); |
| 153 | return result; |
| 154 | } |
| 155 | |
| 156 | |
| 157 | __hot bool slice_istream::readAll(void *dstBuf, size_t dstSize) noexcept { |
nothing calls this directly
no outgoing calls
no test coverage detected