shows how to use the xstream::xdr::istream to restore a structure from XDR data
XDR
reads from standard input