| 138 | |
| 139 | |
| 140 | __hot slice slice_istream::readAll(size_t nBytes) noexcept { |
| 141 | if (nBytes > size) |
| 142 | return nullslice; |
| 143 | slice result(buf, nBytes); |
| 144 | skip(nBytes); |
| 145 | return result; |
| 146 | } |
| 147 | |
| 148 | |
| 149 | __hot slice slice_istream::readAtMost(size_t nBytes) noexcept { |
nothing calls this directly
no outgoing calls
no test coverage detected