Initializes an XDR stream descriptor for a memory buffer. Format #include <tcpip$rpcxdr.h> void xdrmem_create(XDR *xdrs, char *addr, u_int size, enum xdr_op op);
1 – Arguments
xdrs A pointer to the XDR stream handle being created. The routine xdrmem_create fills in xdrs with encoding and decoding information. addr A pointer to the memory buffer. size The length of the memory buffer. op An XDR operation, one of: XDR_ENCODE, XDR_DECODE, and XDR_FREE.
2 – Description
The stream handle xdrs is initialized with the operation op, the buffer addr and size, and the operations context for an xdrmem stream.
3 – Return Values
None