modules documentation
This commit is contained in:
parent
70105131f5
commit
92b174beba
3 changed files with 6 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue