pub fn serialize_code<W, C>(buf: &mut W, code: &CodeObject<C>)where
    W: Write,
    C: Constant,