kf_protocol_core/lib.rs
1#![feature(specialization)]
2
3mod decoder;
4mod encoder;
5mod varint;
6mod zerocopy;
7
8pub use self::decoder::Decoder;
9pub use self::decoder::DecoderVarInt;
10pub use self::encoder::Encoder;
11pub use self::encoder::EncoderVarInt;
12
13
14pub mod bytes {
15 pub use bytes::Buf;
16 pub use bytes::BufMut;
17 pub use bytes::buf::ext::BufExt;
18 pub use bytes::buf::ext::BufMutExt;
19}
20
21pub type Version = i16;