[reSIProcate] Convert NameAddr into Data

Jason Fischl jason at counterpath.com
Fri Mar 24 10:06:03 CST 2006


NameAddr na;
Data nad = Data::from(na);

// don't keep this after nad gets deleted.
const char* nas = nad.c_str();


On 3/24/06, Lorenzo <webmaster at frascati1.org> wrote:
> Hello,
> which is the best method to convert a NameAddr (or a URI ) into a Data
> (and then into a string with c_str() ) ?
>
> Thank you,
>
>
> LB
> _______________________________________________
> resiprocate-devel mailing list
> resiprocate-devel at list.sipfoundry.org
> https://list.sipfoundry.org/mailman/listinfo/resiprocate-devel
>



More information about the resiprocate-devel mailing list