#2381 Buf Serialization

go4 Fri 28 Nov 2014

Hi, I need an Object serialization with Buf field. How to serialize it to Base64 code?

Thanks.

SlimerDude Fri 28 Nov 2014

A Buf object itself is not serialisable, so your only means is to handle serialisation yourself in the containing object.

I do this with the BSON Binary object - see the source code (linked) for an example.

go4 Wed 3 Dec 2014

Nice, Thanks.

Login or Signup to reply.