Connected: An Internet Encyclopedia
3.16 Void

Up: Connected: An Internet Encyclopedia
Up: Requests For Comments
Up: RFC 1832
Up: 3. XDR DATA TYPES
Prev: 3.15 Discriminated Union
Next: 3.17 Constant

3.16 Void

3.16 Void

An XDR void is a 0-byte quantity. Voids are useful for describing operations that take no data as input or no data as output. They are also useful in unions, where some arms may contain data and others do not. The declaration is simply as follows:

         void;

Voids are illustrated as follows:

           ++
           ||                                                     VOID
           ++
         --><-- 0 bytes


Next: 3.17 Constant

Connected: An Internet Encyclopedia
3.16 Void