mcrw 0.4.0

A library for working with the Minecraft data types
Documentation
  • Coverage
  • 11.76%
    4 out of 34 items documented2 out of 31 items with examples
  • Size
  • Source code size: 36.88 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.52 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 10s Average build duration of successful builds.
  • all releases: 10s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • siderite/mcrw
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • Bond-009

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();