[xsd-users] stream (from file) to base64binary

Boris Kolpackov boris at codesynthesis.com
Thu Dec 17 09:20:38 EST 2009


Hi Michiel,

Michiel Soede <michielsoede at hotmail.com> writes:

> I'm trying to directly read from a std::ifstream into a base64 binary.

Is the data in the file base64-encoded or binary?


> I saw in the documentation that there is a
> 
> xsd::cxx::tree::base64_binary template class with a constructor with 
> an istream as input.

That's a different kind of stream. This constructor is used to load 
the base64_binary object from a data representation stream (XDR, CDR,
etc.), not from std::istream.

Boris



More information about the xsd-users mailing list