On Tue, Jan 8, 2013 at 7:40 AM, Kirk, Benjamin (JSC-EG311)
<[email protected]> wrote:
> It is possible to move the underlying Xdr stream, but our wrapper class 
> doesn't provide an encapsulation interface. Easy enough to do, but we usually 
> try to discourage direct access to primitive data types.

Are you thinking of xdr_setpos?  There is a cryptic warning about it
in 'man xdr'...

int xdr_setpos(XDR *xdrs, u_int pos)
        A macro that invokes the set position routine associated with
the XDR stream xdrs.  The pos argument is a position value obtained
from xdr_getpos().  This routine returns one if the XDR stream could
be repositioned, and zero otherwise.
        Warning: it is difficult to reposition some types of XDR
streams, so this routine may fail with one type of stream and succeed
with another.

--
John

------------------------------------------------------------------------------
Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS
and more. Get SQL Server skills now (including 2012) with LearnDevNow -
200+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only - learn more at:
http://p.sf.net/sfu/learnmore_122512
_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to