Skip to content

Use native byte order instead of little-endian.#12

Open
guerard wants to merge 1 commit intojdiamond:masterfrom
guerard:use-native-byte-order
Open

Use native byte order instead of little-endian.#12
guerard wants to merge 1 commit intojdiamond:masterfrom
guerard:use-native-byte-order

Conversation

@guerard
Copy link

@guerard guerard commented Apr 6, 2020

Per Google's documentation, the length of the message
will be sent in the native byte-order, and so neither big
nor little endianness can be assumed. This simply wraps
the relevant read/write calls in an endianness check.

Per Google's documentation, the length of the message
will be sent in the native byte-order, and so neither big
nor little endianness can be assumed. This simply wraps
the relevant read/write calls in an endianness check.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant