| 263 | } |
| 264 | |
| 265 | nvimgcodecStatus_t CodeStream::skip(size_t count) { |
| 266 | try { |
| 267 | assert(io_stream_); |
| 268 | io_stream_->skip(count); |
| 269 | return NVIMGCODEC_STATUS_SUCCESS; |
| 270 | } catch (std::exception& e) { |
| 271 | return NVIMGCODEC_STATUS_EXECUTION_FAILED; |
| 272 | } |
| 273 | } |
| 274 | |
| 275 | nvimgcodecStatus_t CodeStream::seek(ptrdiff_t offset, int whence) { |
| 276 | try { |
no outgoing calls