mcrw

Crates.iomcrw
lib.rsmcrw
version0.4.0
sourcesrc
created_at2022-01-12 21:03:30.507905
updated_at2022-01-12 21:03:30.507905
descriptionA library for working with the Minecraft data types
homepage
repositoryhttps://gitlab.com/siderite/mcrw
max_upload_size
id513015
size32,890
(Bond-009)

documentation

README

mcrw

A library for working with the Minecraft data types.

Example

use mcrw::MCReadExt;

let mut buf = [0x04, 0x6d, 0x63, 0x72, 0x77];
println!("{}", buf.as_slice().read_string().unwrap()); // Prints "mcrw"
use mcrw::MCWriteExt;

let mut vec = Vec::new();
vec.write_var_int(42).unwrap();
vec.write_string("mcrw").unwrap();
Commit count: 10

cargo fmt