Knowledge (XXG)

External Data Representation

Source ๐Ÿ“

66: 128: 25: 1245:
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
1117:
optional โ€“ optional data is notated similarly to C pointers, but is represented as the data type "pointed to" with a Boolean "present or not" flag. Semantically this is
878:
order; smaller data types still occupy four bytes each after encoding. Variable-length types such as string and opaque are padded to a total divisible by four bytes.
145: 38: 929: 1530: 1153: 855:
protocols. It allows data to be transferred between different kinds of computer systems. Converting from the local representation to XDR is called
1318: 721: 685: 487: 482: 355: 192: 87: 164: 1569: 1434: 824: 344: 1280: 1579: 550: 334: 1285: 987: 535: 438: 229: 211: 171: 109: 52: 44: 1174:"X.225 : Information technology โ€“ Open Systems Interconnection โ€“ Connection-oriented Session protocol: Protocol specification" 1564: 1268: 1148: 962: 736: 279: 631: 178: 1386: 1336: 1177: 912: 741: 269: 149: 1274: 1549: 621: 616: 606: 472: 433: 329: 160: 1143: 611: 555: 443: 1559: 1554: 1311: 601: 299: 274: 1263: 80: 74: 1574: 1039: 1033: 1027: 1021: 997: 651: 596: 319: 138: 1074: 1069: 1003: 751: 626: 91: 397: 817: 756: 746: 671: 1349: 1304: 956: 947: 477: 289: 185: 1424: 1138: 879: 646: 575: 314: 1086: 1080: 641: 1364: 1058: 402: 309: 1374: 969: 848: 845: 810: 370: 284: 1015: 902: 518: 294: 262: 251: 1493: 1208: 1105: 1098: 1053: 895: 864: 863:. XDR is implemented as a software library of functions which is portable between different 852: 1344: 1064: 953: 868: 589: 465: 1468: 1369: 1047: 991: 704: 1543: 1498: 1488: 1381: 1327: 934: 511: 416: 1091: 324: 1173: 1483: 1478: 1441: 1416: 1257: 1250: 1242: 1118: 776: 771: 766: 690: 661: 127: 1514: 875: 761: 656: 636: 423: 1111: 796: 781: 565: 245: 1237:
The XDR standard exists in three different versions in the following RFCs:
1044: 883: 1296: 1354: 983: 497: 428: 349: 1503: 1461: 1451: 1446: 1213: 1200: 940: 716: 711: 539: 339: 303: 965:
JavaScript engine, to serialize/deserialize compiled JavaScript code
1290: 1253:
1995 version. Added Quadruple precision floating point to RFC 1014.
1429: 1391: 976: 731: 726: 560: 545: 448: 392: 387: 1519: 1473: 1456: 1406: 1396: 1359: 1293:(a collection of tools containing an XDR/RPC-to-ASN.1 converter) 1132: 923: 899: 786: 680: 676: 666: 570: 528: 523: 492: 377: 1300: 1401: 917: 791: 121: 59: 18: 859:. Converting from XDR to the local representation is called 908:
The XDR data format is in use by many systems, including:
1281:
The GNU Libc implementation of rpcgen, the XDR parser.
1277:
main xdr source file used in Firebird remote protocol
1271:, the main source file of SpiderMonkey that uses XDR 948:
R language and environment for statistical computing
898:, and first widely published in 1987. XDR became an 1415: 1335: 152:. Unsourced material may be challenged and removed. 874:XDR uses a base unit of 4 bytes, serialized in 1286:Mu Dynamics Research Labs racc grammar for XDR 1312: 818: 8: 1201:"XDR: External Data Representation Standard" 930:Open Network Computing Remote Procedure Call 53:Learn how and when to remove these messages 1319: 1305: 1297: 825: 811: 241: 1212: 230:Learn how and when to remove this message 212:Learn how and when to remove this message 110:Learn how and when to remove this message 1531:Comparison of data-serialization formats 1154:Comparison of data serialization formats 73:This article includes a list of general 1165: 244: 894:XDR was developed in the mid 1980s at 7: 1180:from the original on 1 February 2021 150:adding citations to reliable sources 937:backup software (later sold by EMC) 79:it lacks sufficient corresponding 14: 1131:Structured Data eXchange Format ( 1038:unsigned hyper โ€“ unsigned 64-bit 34:This article has multiple issues. 1149:Data Format Description Language 926:Network Data Management Protocol 126: 64: 23: 1026:unsigned int โ€“ unsigned 32-bit 1000:for Remote Binary Wire Protocol 867:and is also independent of the 137:needs additional citations for 42:or discuss these issues on the 913:Network File System (protocol) 161:"External Data Representation" 1: 972:distributed monitoring system 1264:Cisco's XDR: Technical Notes 1144:Abstract Syntax Notation One 838:External Data Representation 1291:IvmaiAsn ASN1/ECN/XDR Tools 979:network monitoring standard 1596: 1570:Data serialization formats 998:Firebird (database server) 943:(a scientific data format) 1580:Sun Microsystems software 1528: 1207:. Network Working Group. 1199:Sun Microsystems (1987). 851:format, for uses such as 16:Data serialization format 986:virtualization library, 1565:Data modeling languages 1004:Stellar Payment Network 94:more precise citations. 880:Floating-point numbers 1139:Remote Procedure Call 1094:โ€“ discriminated union 1550:Networking standards 1114:โ€“ zero byte quantity 957:Binary Wire Protocol 146:improve this article 882:are represented in 1560:Internet protocols 1555:Internet Standards 849:data serialization 371:Presentation layer 1575:Data transmission 1537: 1536: 865:operating systems 835: 834: 263:Application layer 240: 239: 232: 222: 221: 214: 196: 120: 119: 112: 57: 1587: 1494:Protocol Buffers 1321: 1314: 1307: 1298: 1226: 1225: 1223: 1221: 1216: 1214:10.17487/RFC1014 1196: 1190: 1189: 1187: 1185: 1170: 1104:variable length 1085:variable length 1061:(new in RFC1832) 935:Legato NetWorker 896:Sun Microsystems 853:computer network 827: 820: 813: 254: 242: 235: 228: 217: 210: 206: 203: 197: 195: 154: 130: 122: 115: 108: 104: 101: 95: 90:this article by 81:inline citations 68: 67: 60: 49: 27: 26: 19: 1595: 1594: 1590: 1589: 1588: 1586: 1585: 1584: 1540: 1539: 1538: 1533: 1524: 1411: 1331: 1325: 1235: 1230: 1229: 1219: 1217: 1198: 1197: 1193: 1183: 1181: 1172: 1171: 1167: 1162: 1128: 1032:hyper โ€“ 64-bit 1012: 892: 869:transport layer 831: 802: 801: 707: 696: 695: 592: 590:Data link layer 581: 580: 514: 503: 502: 468: 466:Transport layer 457: 456: 419: 408: 407: 373: 362: 361: 265: 249: 248: 236: 225: 224: 223: 218: 207: 201: 198: 155: 153: 143: 131: 116: 105: 99: 96: 86:Please help to 85: 69: 65: 28: 24: 17: 12: 11: 5: 1593: 1591: 1583: 1582: 1577: 1572: 1567: 1562: 1557: 1552: 1542: 1541: 1535: 1534: 1529: 1526: 1525: 1523: 1522: 1517: 1512: 1507: 1501: 1496: 1491: 1486: 1481: 1476: 1471: 1466: 1465: 1464: 1454: 1449: 1444: 1439: 1438: 1437: 1427: 1421: 1419: 1413: 1412: 1410: 1409: 1404: 1399: 1394: 1389: 1384: 1379: 1378: 1377: 1372: 1367: 1365:Web Encryption 1357: 1352: 1347: 1341: 1339: 1337:Human readable 1333: 1332: 1326: 1324: 1323: 1316: 1309: 1301: 1295: 1294: 1288: 1283: 1278: 1272: 1266: 1261: 1254: 1247: 1234: 1233:External links 1231: 1228: 1227: 1191: 1164: 1163: 1161: 1158: 1157: 1156: 1151: 1146: 1141: 1136: 1127: 1124: 1123: 1122: 1115: 1109: 1102: 1095: 1089: 1083: 1077: 1072: 1067: 1062: 1056: 1050: 1042: 1036: 1030: 1024: 1018: 1011: 1010:XDR data types 1008: 1007: 1006: 1001: 994: 980: 973: 966: 959: 950: 944: 938: 932: 927: 921: 915: 891: 888: 833: 832: 830: 829: 822: 815: 807: 804: 803: 800: 799: 794: 789: 787:ITU-T G.hn PHY 784: 779: 774: 769: 764: 759: 754: 749: 744: 739: 734: 729: 724: 722:ITU-T V-Series 719: 714: 708: 705:Physical layer 702: 701: 698: 697: 694: 693: 688: 683: 674: 669: 667:ITU-T G.hn DLL 664: 659: 654: 649: 644: 639: 634: 629: 624: 619: 614: 609: 604: 599: 593: 587: 586: 583: 582: 579: 578: 573: 568: 563: 558: 553: 548: 543: 533: 532: 531: 526: 515: 509: 508: 505: 504: 501: 500: 495: 490: 485: 480: 475: 469: 463: 462: 459: 458: 455: 454: 451: 446: 441: 436: 431: 426: 420: 414: 413: 410: 409: 406: 405: 400: 395: 390: 385: 380: 374: 368: 367: 364: 363: 360: 359: 352: 347: 342: 337: 332: 327: 322: 317: 312: 307: 297: 292: 287: 282: 277: 272: 266: 260: 259: 256: 255: 238: 237: 220: 219: 134: 132: 125: 118: 117: 72: 70: 63: 58: 32: 31: 29: 22: 15: 13: 10: 9: 6: 4: 3: 2: 1592: 1581: 1578: 1576: 1573: 1571: 1568: 1566: 1563: 1561: 1558: 1556: 1553: 1551: 1548: 1547: 1545: 1532: 1527: 1521: 1518: 1516: 1513: 1511: 1508: 1505: 1502: 1500: 1497: 1495: 1492: 1490: 1489:Property list 1487: 1485: 1482: 1480: 1477: 1475: 1472: 1470: 1467: 1463: 1460: 1459: 1458: 1455: 1453: 1450: 1448: 1445: 1443: 1440: 1436: 1433: 1432: 1431: 1428: 1426: 1423: 1422: 1420: 1418: 1414: 1408: 1405: 1403: 1400: 1398: 1395: 1393: 1390: 1388: 1385: 1383: 1382:Property list 1380: 1376: 1375:Web Signature 1373: 1371: 1368: 1366: 1363: 1362: 1361: 1358: 1356: 1353: 1351: 1348: 1346: 1343: 1342: 1340: 1338: 1334: 1329: 1328:Data exchange 1322: 1317: 1315: 1310: 1308: 1303: 1302: 1299: 1292: 1289: 1287: 1284: 1282: 1279: 1276: 1273: 1270: 1267: 1265: 1262: 1260:1987 version. 1259: 1255: 1252: 1248: 1244: 1240: 1239: 1238: 1232: 1215: 1210: 1206: 1202: 1195: 1192: 1179: 1175: 1169: 1166: 1159: 1155: 1152: 1150: 1147: 1145: 1142: 1140: 1137: 1134: 1130: 1129: 1125: 1120: 1116: 1113: 1110: 1107: 1103: 1100: 1097:fixed length 1096: 1093: 1090: 1088: 1084: 1082: 1079:fixed length 1078: 1076: 1073: 1071: 1068: 1066: 1063: 1060: 1057: 1055: 1051: 1049: 1046: 1043: 1041: 1037: 1035: 1031: 1029: 1025: 1023: 1020:int โ€“ 32-bit 1019: 1017: 1014: 1013: 1009: 1005: 1002: 999: 995: 993: 989: 985: 981: 978: 974: 971: 967: 964: 960: 958: 955: 951: 949: 945: 942: 939: 936: 933: 931: 928: 925: 922: 919: 916: 914: 911: 910: 909: 906: 904: 901: 897: 889: 887: 885: 881: 877: 872: 870: 866: 862: 858: 854: 850: 847: 843: 839: 828: 823: 821: 816: 814: 809: 808: 806: 805: 798: 795: 793: 790: 788: 785: 783: 780: 778: 775: 773: 770: 768: 765: 763: 760: 758: 755: 753: 750: 748: 745: 743: 740: 738: 735: 733: 730: 728: 725: 723: 720: 718: 715: 713: 710: 709: 706: 700: 699: 692: 689: 687: 684: 682: 678: 675: 673: 670: 668: 665: 663: 660: 658: 655: 653: 650: 648: 645: 643: 640: 638: 635: 633: 630: 628: 625: 623: 620: 618: 615: 613: 610: 608: 605: 603: 600: 598: 595: 594: 591: 585: 584: 577: 574: 572: 569: 567: 564: 562: 559: 557: 554: 552: 549: 547: 544: 541: 537: 534: 530: 527: 525: 522: 521: 520: 517: 516: 513: 512:Network layer 507: 506: 499: 496: 494: 491: 489: 486: 484: 481: 479: 476: 474: 471: 470: 467: 461: 460: 452: 450: 447: 445: 442: 440: 437: 435: 432: 430: 427: 425: 422: 421: 418: 417:Session layer 412: 411: 404: 401: 399: 396: 394: 391: 389: 386: 384: 381: 379: 376: 375: 372: 366: 365: 358: 357: 353: 351: 348: 346: 343: 341: 338: 336: 333: 331: 328: 326: 323: 321: 318: 316: 313: 311: 308: 305: 301: 298: 296: 293: 291: 288: 286: 283: 281: 278: 276: 273: 271: 268: 267: 264: 258: 257: 253: 247: 243: 234: 231: 216: 213: 205: 202:February 2017 194: 191: 187: 184: 180: 177: 173: 170: 166: 163: โ€“  162: 158: 157:Find sources: 151: 147: 141: 140: 135:This article 133: 129: 124: 123: 114: 111: 103: 100:February 2017 93: 89: 83: 82: 76: 71: 62: 61: 56: 54: 47: 46: 41: 40: 35: 30: 21: 20: 1509: 1275:protocol.cpp 1236: 1218:. Retrieved 1204: 1194: 1182:. Retrieved 1168: 963:SpiderMonkey 907: 893: 873: 860: 856: 841: 837: 836: 382: 354: 226: 208: 199: 189: 182: 175: 168: 156: 144:Please help 139:verification 136: 106: 97: 78: 50: 43: 37: 36:Please help 33: 1484:MessagePack 1479:FlatBuffers 1469:Cap'n Proto 1246:references. 1119:option type 1065:enumeration 920:File System 777:IEEE 802.16 772:IEEE 802.15 767:IEEE 802.11 691:IEEE 802.11 662:Frame Relay 92:introducing 1544:Categories 1269:jsxdrapi.c 1160:References 876:big-endian 762:IEEE 802.3 686:Q.922 LAPF 657:IEEE 802.3 637:IEEE 802.2 424:Named pipe 172:newspapers 75:references 39:improve it 1370:Web Token 1256:RFC  1249:RFC  1241:RFC  1070:structure 1059:quadruple 905:in 1995. 797:Bluetooth 782:IEEE 1394 742:SONET/SDH 703:1.  588:2.  566:AppleTalk 510:3.  464:4.  415:5.  369:6.  261:7.  246:OSI model 45:talk page 1515:uuencode 1220:July 11, 1205:RFC 1014 1184:10 March 1178:Archived 1126:See also 903:standard 886:format. 884:IEEE 754 861:decoding 857:encoding 846:standard 356:more.... 1355:EDIFACT 1330:formats 1040:integer 1034:integer 1028:integer 1022:integer 1016:boolean 984:libvirt 970:Ganglia 954:HTTP-NG 890:History 844:) is a 429:NetBIOS 350:NETCONF 186:scholar 88:improve 1504:Cyphal 1499:Thrift 1462:UBJSON 1452:Base64 1447:Base32 1417:Binary 1106:opaque 1099:opaque 1075:string 1054:double 941:NetCDF 717:RS-449 712:RS-232 679:  540:ICMPv6 340:Telnet 304:HTTP/3 295:Gopher 188:  181:  174:  167:  159:  77:, but 1430:ASN.1 1392:Rebol 1092:union 1087:array 1081:array 1052:IEEE 1048:float 977:sFlow 732:I.431 727:I.430 617:CSLIP 561:IS-IS 546:IPsec 453:X.225 449:SOCKS 393:ASCII 388:ASN.1 252:layer 193:JSTOR 179:books 1520:yEnc 1506:DSDL 1474:CBOR 1457:BSON 1442:Avro 1407:YAML 1397:TOML 1360:JSON 1345:Atom 1258:1014 1251:1832 1243:4506 1222:2011 1186:2023 1133:SDXF 1112:void 1108:data 1101:data 1045:IEEE 996:The 990:and 982:The 975:The 968:The 961:The 952:The 946:The 924:NDMP 900:IETF 681:LAPB 677:X.25 652:L2TP 632:PLIP 622:SLIP 612:HDLC 607:SDLC 571:X.25 551:IGMP 536:ICMP 529:IPv6 524:IPv4 493:QUIC 488:DCCP 483:SCTP 439:PPTP 378:MIME 345:DHCP 335:SNMP 330:SMTP 320:SMPP 300:HTTP 270:NNTP 165:news 1510:XDR 1435:SMI 1425:AMF 1402:XML 1387:RDF 1350:CSV 1209:doi 988:API 918:ZFS 842:XDR 792:USB 757:DSL 752:OTN 747:PON 737:PDH 672:PPP 647:MAC 642:LLC 627:GFP 602:ARP 597:ATM 576:PLP 556:IPX 498:SPX 478:UDP 473:TCP 444:RTP 434:SAP 403:PGP 398:TLS 383:XDR 325:SSH 315:NTP 310:NFS 290:FTP 285:DNS 280:SSI 275:SIP 250:by 148:by 1546:: 1203:. 1176:. 992:UI 871:. 519:IP 48:. 1320:e 1313:t 1306:v 1224:. 1211:: 1188:. 1135:) 1121:. 840:( 826:e 819:t 812:v 542:) 538:( 306:) 302:( 233:) 227:( 215:) 209:( 204:) 200:( 190:ยท 183:ยท 176:ยท 169:ยท 142:. 113:) 107:( 102:) 98:( 84:. 55:) 51:(

Index

improve it
talk page
Learn how and when to remove these messages
references
inline citations
improve
introducing
Learn how and when to remove this message

verification
improve this article
adding citations to reliable sources
"External Data Representation"
news
newspapers
books
scholar
JSTOR
Learn how and when to remove this message
Learn how and when to remove this message
OSI model
layer
Application layer
NNTP
SIP
SSI
DNS
FTP
Gopher
HTTP

Text is available under the Creative Commons Attribution-ShareAlike License. Additional terms may apply.

โ†‘