pub fn to_vec_with_rules(value: &Sexp, rules: Rules) -> Result<Vec<u8>, SexpError> {
    let mut writer = Vec::with_capacity(128);
    to_writer_with_rules(&mut writer, rules, value)?;
    Ok(writer)
}
/// serialize a symbolic-expression to a Vec<u8> using Rules
serialize a symbolic-expression to a Vec using Rules
serialize a symbolic - expression to a Vec using Rules
pub fn to_vec_with_rules(value: &Sexp, rules: Rules) -> Result<Vec<u8>, SexpError> {
    let mut writer = Vec::with_capacity(128);
    to_writer_with_rules(&mut writer, rules, value)?;
    Ok(writer)
}
pub fn to_vec_with_rules ( value : & Sexp , rules : Rules ) -> Result < Vec < u8 > , SexpError > { let mut writer = Vec :: with_capacity ( 128 ) ; to_writer_with_rules ( & mut writer , rules , value ) ? ; Ok ( writer ) }
serialize a symbolic-expression to a Vec<u8> using Rules
serialize a symbolic - expression to a Vec<u8 > using Rules
value
&Sexp
rules
Rules