bitcoin-bufferedfile 0.1.18

a non-refcounted RAII wrapper around a `FILE*` that implements a ring buffer for deserialization. It ensures the ability to rewind a given number of bytes and guarantees proper file closure when the object goes out of scope.
1
2
3
4
5
// ---------------- [ File: bitcoin-bufferedfile/src/lib.rs ]
#[macro_use] mod imports; use imports::*;

x!{buffered_file}
x!{buffered_file_stream}