endianness
Endianness inside CPU registers
I need help understanding endianness inside CPU registers of x86 processors. I wrote this small assembly program:[详细]
2023-02-01 04:34 分类:问答Sending data to servlet over httpo using java DefaultHttpClient
I am sending some binary data ([byte[]) (using the java DefaultHttpclient) to the servlet running on a apache tomcat server. My question is do I n开发者_高级运维eed to worry about machine endianness b[详细]
2023-01-31 22:48 分类:问答endianess-check with boost differ compared to result by small code
Hi All I am doing some preliminary checking to see whether my system is big-endian or little-endian. In LInux it should be little-endian by default, but I just wanted to double check.[详细]
2023-01-28 21:33 分类:问答Confused by example code to check endianness
Hi I\'m confused by the example code given here to check if a machine is little or big endian开发者_如何学编程:[详细]
2023-01-27 21:15 分类:问答I need to write a big-endian single-precision floating point number to file in C#
I have a file format I\'m trying to write to using C#.The format encodes integer-based RGB color values as a floating point.It also stores the values as big-endian.I found an example of what I\'m tryi[详细]
2023-01-25 10:59 分类:问答How to check whether a system is big endian or little endian?
How to check whether a system is 开发者_如何学运维big endian or little endian?In C, C++ int n = 1;[详细]
2023-01-25 06:47 分类:问答How to write a 24 bit message after reading from a 4-byte integer on a big endian machine (C)?
I am constructing a message to send a 24-bit number over the network. For little endian machines, the code is (ptr is the pointer to the message buffer):[详细]
2023-01-20 07:57 分类:问答Little-Endian Signed Integer
I know the WAV file format uses signed integers for 16-bit samples. It also stores them in little-endian order, meaning the lowest 8 bits come first, then the next, etc. Is the special sign bit on the[详细]
2023-01-19 19:46 分类:问答Detect Endianness with CMake
My library needs to read-in big-endian integers (4-bytes) and convert them to the endian order of the host for processing.While on *nix ntohl has worked a treat under Windows use of ntohl requires the[详细]
2023-01-19 04:24 分类:问答How can I reverse the byte order of an NSInteger or NSUInteger in objective-c
This is a somewhat of a follow up to this posting but with a different question so I felt I should ask in a separate thread.[详细]
2023-01-18 18:04 分类:问答