[][src]Function dag_cbor::encode::write_u8

pub fn write_u8<W: Write>(w: &mut W, major: u8, value: u8) -> Result<()>