Skip to content

求教修改数据协议-数据长度后,客户端不能正确读取长度的问题  #9

Description

@cool8868

咱们的服务端测试都ok,DataLen=4
您的Unity客户端做了如下修改
var bID = temp.GetRange(0, 4);
bID.Reverse();
var len = BitConverter.ToUInt32(bID.ToArray(), 0);
读出来的值超大,求教问题所在

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions