外部 데이터 表現

위키百科, 우리 모두의 百科事典.

外部 데이터 表現 (External Data Representation, XDR)은 컴퓨터 네트워크 프로토콜과 같은 用途로 使用되는 標準 데이터 直列火 形式이다. 이를 通해 다양한 種類의 컴퓨터 시스템 間에 데이터를 電送할 수 있다. 로컬 表現에서 XDR로 變換하는 것을 인코딩이라고 한다. XDR에서 로컬 表現으로 變換하는 것을 디코딩이라고 한다. XDR은 多樣한 運營體制 間에 移植 可能하고 電送 階層 過度 獨立的인 機能의 소프트웨어 라이브러리로 具現된다.

XDR은 빅엔디言 順序로 直列化된 4바이트의 基本 單位를 使用한다. 더 작은 데이터 類型은 인코딩 後에도 各各 4바이트를 차지한다. 文字列 및 不透明 같은 可變 길이 類型은 銃 4바이트로 나누어질 수 있도록 채워진다. 浮動小數點 數字는 IEEE 754 形式으로 標示된다.

같이 보기 [ 編輯 ]

外部 링크 [ 編輯 ]

The XDR standard exists in three different versions in the following RFCs:

  • RFC   4506 2006 This document makes no technical changes to RFC 1832 and is published for the purposes of noting IANA considerations, augmenting security considerations, and distinguishing normative from informative references.
  • RFC   1832 1995 version. Added Quadruple precision floating point to RFC   1014 .
  • Cisco's XDR: Technical Notes
  • protocol.cpp main xdr source file used in Firebird remote protocol
  • IvmaiAsn ASN1/ECN/XDR Tools (a collection of tools containing an XDR/RPC-to-ASN.1 converter)