{"ast_node_type":"function","tokens":[{"end":60,"kind":"keyword","start":0,"text":"fn"}]}
    fn panic_invalid_write<const N: usize>(written: usize) {
    #[inline(never)]
        panic!("MemEncoder::write_with::<{N}> cannot be used to write {written} bytes");