erlang自定义二进制协议
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

40 lines
760 B

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