Skip to content
This repository was archived by the owner on Oct 30, 2019. It is now read-only.
This repository was archived by the owner on Oct 30, 2019. It is now read-only.

BigEndian vs LittleEndian #3

@MinusPL

Description

@MinusPL

Each packet in PacketType has wrong hex value.
Every packet is sent in Little Endian bytes. That means that most significant byte is actually on the right, not left.
Due to this every packet has wrong numerical value assigned. For example:
Packet ClientEnterServerReq is actually assigned to value 0x1302 rather than 0x0213. 0x0213 is shown in any raw binary dump of data.

Didn't notice if you meant to have them in Little Endian byte order, but it can cause some problems.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomers

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions