XDR is an open data format, specified in RFC 4506. This library provides a way to read and write XDR data from Ruby. It can read/write all of the primitive XDR types and also provides facilities to define readers for the compound XDR types (enums, structs and unions).