KO
|
EN
gitlite — search
Search
#python
#java
#python3
#arduino
#golang
#machine-learning
#rust
#html
#flask
#javascript
#seismology
#nodejs
rust-lzma
★ 11
Open GitHub ↗
LZMA handling library.
Download README (.md)
Explore Similar Repositories
hereComesTheSun
:
a generative experiment to celebrate the global beatles day, june 25th
OsuMultiTool
:
No description available.
surge-client
:
Client for Surge socket server written in JS. To be used with web browsers and nodejs servers
hfeed2atom
:
Python functions to convert a h-feed to Atom 1.0
flask-sqlalchemy-blogger-example
:
Blog Application using Falsk and sqlalchemy
// repository documentation
Was this content helpful?
★ 0
(0 ratings)
Select Rating:
★
★
★
★
★
Submit Feedback
Recent Feedback
×
Download README
Do you want to download the
README.md
file for
rust-lzma
?
Download (.md)
LZMA ==== [](https://travis-ci.org/meh/rust-lzma) LZMA handling library. ```toml [dependencies] lzma = "*" ``` Example ------- This example will print the contents of the decoded LZMA file to `stdout`. ```rust use std::io::{self, Read, Write}; use std::env; use std::process; extern crate lzma; fn main() { let mut decoder = lzma::open(&env::args().nth(1).expect("missing file")).unwrap(); let mut buffer = [0u8; 4096]; let mut stdout = io::stdout(); loop { match decoder.read(&mut buffer) { Ok(0) => break, Ok(n) => stdout.write_all(&buffer[0..n]).unwrap(), Err(_) => process::exit(1), } } } ```