String Filter Primitives

A string is a constructed filter primitive that consists of a sequence of bytes terminated by a null byte.

The null byte does not figure into the length of the string. Externally, strings are represented by a sequence of ASCII characters. Internally, XDR uses the char * designation to represent pointers to strings.

The XDR library includes primitives for the following string routines:

Item Description
xdr_string Translates between C language strings and their external representations.
xdr_wrapstring Calls the xdr_string subroutine.