Build status License: MIT Crate version Rust Docs

Encoder

Implemented Write

```rust // examples/encoder.rs use basecoresocialist_values::Encoder; use std::io::{self, stdout, stdin};

fn main() -> io::Result<()> { let mut reader = stdin(); let mut writer = stdout(); io::copy(&mut reader, &mut Encoder::new(&mut writer))?; Ok(()) } ```

bash cargo run --example encoder

run, enter and Ctrl D (there is buffer in stdout)

Decoder

Implemented Write

```rust // examples/encoder.rs use basecoresocialist_values::Decoder; use std::io::{self, stdout, stdin};

fn main() -> io::Result<()> { let mut reader = stdin(); let mut writer = stdout(); io::copy(&mut reader, &mut Decoder::new(&mut writer))?; Ok(()) } ```

bash cargo run --example encoder

run, enter and Ctrl D (there is buffer in stdout)