Fun with XDR record streams

gish at ncbi.nlm.nih.gov gish at ncbi.nlm.nih.gov
Tue Jun 5 05:16:01 AEST 1990


XDR_HELP!!  With the functions xdrmem_create and xdrstdio_create, the x_op
parameter specifies whether data on the XDR stream is to be ENCODEd or
DECODEd.  Now check out the function xdrrec_create.  How the heck do the
XDR i/o routines (e.g., xdr_long) know when data on a record stream is to
be DECODEd or ENCODEd, read or written??

Warren Gish
National Center for Biotechnology Information
gish at ncbi.nlm.nih.gov



More information about the Comp.sys.sun mailing list