pub trait WriteCtx<Ctx> {
// Required method
fn to_bytes(&self, ctx: Ctx) -> Vec<u8>;
}Expand description
A trait for writing data of variable length, with context.
pub trait WriteCtx<Ctx> {
// Required method
fn to_bytes(&self, ctx: Ctx) -> Vec<u8>;
}A trait for writing data of variable length, with context.