You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@apr.apache.org by Sander Striker <st...@samba-tng.org> on 2001/05/23 23:11:50 UTC

types, byte order

Hi,

Could apr_int8_t and apr_uint8_t be added for completeness?
And I noticed that there aren't any functions like:

hton16(), hton32(), hton64() and ntoh16(), ntoh32(), ntoh64().

Is there any reason not to add these (they can be simple
defines)? It is somewhat of a recurring thing that one
encounters...

If there are functions like le2be16() and such I would be
satisfied too :-) [le2be == little endian to big endian]

Just a request, what do you think?

Sander