erlang自定义二进制协议
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

39 lines
760 B

  1. ProtoMsgName =
  2. {
  3. [1] = "test",
  4. [2] = "phoneNumber",
  5. [3] = "person",
  6. [4] = "addressBook",
  7. [5] = "union",
  8. [6] = "tbool",
  9. [7] = "tint8",
  10. [8] = "tuint8",
  11. [9] = "tint16",
  12. [10] = "tuint16",
  13. [11] = "tint32",
  14. [12] = "tuint32",
  15. [13] = "tint64",
  16. [14] = "tuint64",
  17. [15] = "tinteger",
  18. [16] = "tnumber",
  19. [17] = "tfloat",
  20. [18] = "tdouble",
  21. [19] = "tstring",
  22. [20] = "tlistbool",
  23. [21] = "tlistint8",
  24. [22] = "tlistuint8",
  25. [23] = "tlistint16",
  26. [24] = "tlistuint16",
  27. [25] = "tlistint32",
  28. [26] = "tlistuint32",
  29. [27] = "tlistint64",
  30. [28] = "tlistuint64",
  31. [29] = "tlistinteger",
  32. [30] = "tlistnumber",
  33. [31] = "tlistfloat",
  34. [32] = "tlistdouble",
  35. [33] = "tliststring",
  36. [34] = "tlistunion",
  37. [35] = "allType",
  38. [36] = "testnull",
  39. [1001] = "person1",
  40. }