cURL / Mailing Lists / curl-library / Single Mail


Re: libcurl byte order

From: Daniel Stenberg <>
Date: Tue, 17 May 2005 19:55:50 +0200 (CEST)

On Tue, 17 May 2005, ER wrote:

> When I grap info from my uri I'm expecting the first two bytes to be 0xffcf
> but I'm getting 0xcfff. I have two sets of cross tools I used and both give
> me the same result. Any ideas?

libcurl provides downloaded data in the same order the server delivers it. It
doesn't matter what endian your CPU uses.

If the data is switched like that, it is most likely a problem in the server
or in your app.

  Commercial curl and libcurl Technical Support:
Received on 2005-05-17