You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks like the BinaryReaderExtension only works for LittleEndian Platforms. On BigEndian Platforms the byte order is also reversed resulting in LittleEndian where BigEndian was already provided.
The text was updated successfully, but these errors were encountered:
gmuth
changed the title
Plattform dependency / Endianness Issue
Platform dependency / Endianness Issue
Jan 1, 2025
@gmuth How can I fulfill your requirement? Should the IppProtocol include a property IsLittleEndian, and in that case, read the bytes without reversing them?
I found BitConverter.IsLittleEndian but client and server could use different architecture and this check will generate issues. I still think that client must configure it manually or... use bool? and check flag from bitconverter when it's null. It should handle all cases.
It looks like the BinaryReaderExtension only works for LittleEndian Platforms. On BigEndian Platforms the byte order is also reversed resulting in LittleEndian where BigEndian was already provided.
The text was updated successfully, but these errors were encountered: