RFC 1832 (rfc1832) - Page 1 of 24


XDR: External Data Representation Standard



Alternative Format: Original Text Document



Network Working Group                                      R. Srinivasan
Request for Comments: 1832                              Sun Microsystems
Category: Standards Track                                    August 1995


               XDR: External Data Representation Standard

Status of this Memo

   This document specifies an Internet standards track protocol for the
   Internet community, and requests discussion and suggestions for
   improvements.  Please refer to the current edition of the "Internet
   Official Protocol Standards" (STD 1) for the standardization state
   and status of this protocol.  Distribution of this memo is unlimited.

ABSTRACT

   This document describes the External Data Representation Standard
   (XDR) protocol as it is currently deployed and accepted.

TABLE OF CONTENTS

   1. INTRODUCTION                                              2
   2. BASIC BLOCK SIZE                                          2
   3. XDR DATA TYPES                                            3
   3.1 Integer                                                  3
   3.2 Unsigned Integer                                         4
   3.3 Enumeration                                              4
   3.4 Boolean                                                  4
   3.5 Hyper Integer and Unsigned Hyper Integer                 4
   3.6 Floating-point                                           5
   3.7 Double-precision Floating-point                          6
   3.8 Quadruple-precision Floating-point                       7
   3.9 Fixed-length Opaque Data                                 8
   3.10 Variable-length Opaque Data                             8
   3.11 String                                                  9
   3.12 Fixed-length Array                                     10
   3.13 Variable-length Array                                  10
   3.14 Structure                                              11
   3.15 Discriminated Union                                    11
   3.16 Void                                                   12
   3.17 Constant                                               12
   3.18 Typedef                                                13
   3.19 Optional-data                                          14
   3.20 Areas for Future Enhancement                           15
   4. DISCUSSION                                               15
   5. THE XDR LANGUAGE SPECIFICATION                           17
   5.1 Notational Conventions                                  17



Srinivasan                  Standards Track