Trait ricq_core::binary::BinaryReader
source · pub trait BinaryReader {
fn read_string(&mut self) -> String;
fn read_string_short(&mut self) -> String;
fn read_bytes_short(&mut self) -> Bytes;
fn read_tlv_map(&mut self, tag_size: usize) -> HashMap<u16, Bytes>;
fn read_string_limit(&mut self, limit: usize) -> String;
}