skip to main | skip to sidebar

Only paranoid will survive

Tuesday, January 11, 2011

Endianness

C++ General: What do 'ntohl()/ntohs()' and 'htonl()/htons()' actually do?
This family of functions convert between host byte order and network byte order. These functions should not be used when one simply wants to change endian-ness in a platform independent way.

C++ General: How do I convert between big-endian and little-endian values?

CodeProject: Basic concepts on Endianness
Posted by Ray L. Chen at 11:45 PM
Labels: endianness

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

About Me

Ray L. Chen
View my complete profile

C++

  • C++ FAQ
  • C++ Reference

Open Source

  • Free Software Directory

Blog Archive

  • ▼  2011 (21)
    • ►  March (1)
    • ►  February (3)
    • ▼  January (17)
      • Python
      • XML
      • Design Pattern
      • Graphics Library
      • GTK
      • C/C++ Libraries
      • GNU Toolchain
      • Process Thread Task
      • C/C++ Library
      • Memory Management
      • Endianness
      • Bit Manipulation
      • Graph Algorithm
      • Dynamic Programming
      • Algorithm
      • My favorite stackoverflow threads
      • C++ Studies
  • ►  2010 (4)
    • ►  December (4)
  • ►  2009 (2)
    • ►  January (2)