Network Data Representation: Difference between revisions

Content deleted Content added
Line 2:
 
Transfer Syntax NDR
Most application programs treat procedure call inputs and outputs as values of structured data types such as integers, arrays and pointers. One role of IDL is to provide syntax for describing these structured data types and values. However, the RPC protocol specifies that inputs and outputs be passed in octet streams. The role of NDR is to provide a mapping of IDL data types onto octet streams. NDR defines [[primitive data typestype]]s, constructed data types and representations for these types in an octet stream.
 
For some primitive data types, NDR defines several data representations. For example, NDR defines ASCII and EBCDIC formats for characters. When a client or server sends an RPC PDU, the formats used are identified in the format label of the PDU. The data representation formats and the format label support the NDR multi-canonical approach to data conversion; that is, there is a fixed set of alternate representations for data types.