Trait CrdtReader
Source pub trait CrdtReader {
Show 14 methods
// Required methods
fn get_buffer(&self) -> &Cursor<Vec<u8>>;
fn get_buffer_mut(&mut self) -> &mut Cursor<Vec<u8>>;
fn read_info(&mut self) -> JwstCodecResult<u8>;
fn read_item_id(&mut self) -> JwstCodecResult<Id>;
// Provided methods
fn read_var_u64(&mut self) -> JwstCodecResult<u64> { ... }
fn read_var_i32(&mut self) -> JwstCodecResult<i32> { ... }
fn read_var_string(&mut self) -> JwstCodecResult<String> { ... }
fn read_var_buffer(&mut self) -> JwstCodecResult<Vec<u8>> { ... }
fn read_u8(&mut self) -> JwstCodecResult<u8> { ... }
fn read_f32_be(&mut self) -> JwstCodecResult<f32> { ... }
fn read_f64_be(&mut self) -> JwstCodecResult<f64> { ... }
fn read_i64_be(&mut self) -> JwstCodecResult<i64> { ... }
fn is_empty(&self) -> bool { ... }
fn len(&self) -> u64 { ... }
}