Creating and Using XDR Data Streams
XDR data streams are obtained by calling creation subroutines that take arguments specifically designed to the properties of the stream.
There are existing XDR data streams for serializing or deserializing data in standard input and output streams, memory streams, and record streams.
Note: Remote Procedure Call (RPC) clients do not have to create XDR
streams because the RPC system creates and passes these streams to
the client.
The types of data streams include standard I/O streams, memory streams, and record streams.