MCPcopy Create free account
hub / github.com/dermesser/integer-encoding-rs / FixedIntWriter

Interface FixedIntWriter

src/writer.rs:48–50  ·  view source on GitHub ↗

A trait for writing integers without encoding (i.e. `FixedInt`) to any `Write` type.

Source from the content-addressed store, hash-verified

46
47/// A trait for writing integers without encoding (i.e. `FixedInt`) to any `Write` type.
48pub trait FixedIntWriter {
49 fn write_fixedint<FI: FixedInt>(&mut self, n: FI) -> Result<usize>;
50}
51
52#[cfg(any(feature = "tokio_async", feature = "futures_async"))]
53#[async_trait::async_trait(?Send)]

Callers

nothing calls this directly

Implementers 1

writer.rssrc/writer.rs

Calls

no outgoing calls

Tested by

no test coverage detected