Trait mesh_protobuf::PackedDecode
source · pub trait PackedDecode<'a, T, C> {
// Required methods
fn read_packed(
&self,
data: &mut C,
reader: &mut PackedReader<'a>,
) -> Result<()>;
fn must_pack(&self) -> bool;
}
Expand description
Methods for decoding a packed field.
Required Methods§
sourcefn read_packed(&self, data: &mut C, reader: &mut PackedReader<'a>) -> Result<()>
fn read_packed(&self, data: &mut C, reader: &mut PackedReader<'a>) -> Result<()>
Reads from the packed format into data
.