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