Re: Pulling Arduino data apart
toggle quoted messageShow quoted text
Take a look at the wikipedia entry down at Files and Byte Swap. That shows that machines that use different endians must account for it when reading data, be it from a file, a DB, or a COM link. That's all I was trying to say. I know this to be true as I've seen it demonstrated. Making code endian agnostic simply means that the code account for and adjusts to the different endians. The example uses a different algorithm than yours, but the fact you have one means that somewhere it must be accounted for.
I realize you don't want to admit all of this, but either we're talking at cross purposes or you're simply wrong. Either way, I'm not going to convince you, nor you me. This ends it.
From: Jerry Gaffke via Groups.Io <jgaffke@...>
Sent: Saturday, March 10, 2018 11:17 AM
Subject: Re: [BITX20] Pulling Arduino data apart
The Wikipedia entry is a much better starting point than my previous stackoverflow conversation:
Also this, do a search for "endian":
On Fri, Mar 9, 2018 at 01:02 pm, Jerry Gaffke wrote:
Here's a starting point on web resources regarding this big/little endian stuff in case you're curious.