| 140 | } |
| 141 | |
| 142 | void seek(int64_t off, std::ios_base::seekdir way = std::ios_base::beg) |
| 143 | override { |
| 144 | nb::gil_scoped_acquire gil; |
| 145 | seek_func_(off, (int)way); |
| 146 | } |
| 147 | |
| 148 | void read(char* data, size_t n) override { |
| 149 | nb::gil_scoped_acquire gil; |
no outgoing calls