rust-bitcoin-unsafe-fast/io/src
Tobin C. Harding 3f433f1cde
Improve Cursor ref API
Our `Cursor` is a replacement of sorts for the `std::io::Cursor`. Users
of the `Cursor` are likely to expect the same API so to get a reference
and/or mutable reference users will likely reach for `get_ref` and
`get_mut`. We should provide these.

Deprecate `inner` since it is the same as `get_ref` but less
idiomatically named (should have been `as_inner`).

Add `get_ref` and `get_mut` methods to the `Cursor` type.
2024-12-29 09:17:25 +11:00
..
bridge.rs 2024-08-25 automated rustfmt nightly 2024-08-25 01:14:09 +00:00
error.rs Replace `creates` with `constructs` 2024-11-05 12:47:28 +00:00
lib.rs Improve Cursor ref API 2024-12-29 09:17:25 +11:00
macros.rs io: Remove blanket trait impls 2024-02-11 06:46:27 +11:00