modules documentation
This commit is contained in:
parent
70105131f5
commit
92b174beba
@ -1,3 +1,5 @@
|
||||
//! `DataReader` and `DataWriter` traits for reading and writing primitive types in the Minecraft protocol
|
||||
|
||||
pub mod reader;
|
||||
pub mod varint;
|
||||
pub mod writer;
|
||||
|
@ -1,3 +1,5 @@
|
||||
//! Minecraft packet struct
|
||||
|
||||
use crate::data::{DataReader, DataWriter};
|
||||
use crate::ProtocolError;
|
||||
use std::io::Cursor;
|
||||
|
@ -1,3 +1,5 @@
|
||||
//! VarInt reading helper
|
||||
|
||||
pub trait Zigzag<T> {
|
||||
fn zigzag(&self) -> T;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user