pub trait WriteFixedCtx<const N: usize, Ctx>where
    Self: Sized,{
    // Required method
    fn to_bytes(&self, ctx: Ctx) -> [u8; N];
}
Expand description

A trait for writing data of fixed length, with context.

Required Methods§

source

fn to_bytes(&self, ctx: Ctx) -> [u8; N]

Implementors§