fn pack_config_param<W: Write>(
    config_param: &ConfigParam,
    codec: &mut Codec<W>
) -> Result<(), WriteError>