Without the ability to seek, the `Cursor` type is only useful for wrapping owned buffers. In `std` the equivalent type also allows seeking. We currently do not have the `Seek` trait so this simply adds a method to set the position. Further, this adds a method to access inner type so seeking from the end can be implemented (to compute the position relative to the end). Closes #3174 |
||
---|---|---|
.. | ||
bridge.rs | ||
error.rs | ||
lib.rs | ||
macros.rs |