CITS3002 Computer Networks  
prev
next CITS3002 help3002 CITS3002 schedule  

The XDR Representation, continued

XDR defines the representation of simple types, and the representation to be used when combining these types to produce more complex types.

The simple types include:

  • integers, short and long, signed and unsigned
  • floats, single and double precision
  • characters, signed and unsigned
  • enumerated types and Booleans

These may be combined to produce the complex types:

  • fixed and variable length arrays
  • strings
  • structures
  • discriminated unions

XDR also allows some special types:

  • fixed and variable length opaque data
  • the 'void' type



CITS3002 Computer Networks, Lecture 10, Architecture independent applications, p17, 8th May 2024.