/* netorder.cpp */
void *strreverse (void *dest, const void *src, size_t n);
-int read_nint16 (kuint16 *n, int fd);
-int write_nint16 (kuint16 const *n, int fd);
-int read_nint32 (kuint32 *n, int fd);
-int write_nint32 (kuint32 const *n, int fd);
-int read_nfloat32 (float *f, int fd);
-int write_nfloat32 (float const *f, int fd);
-int read_nfloat64 (double *d, int fd);
-int write_nfloat64 (double const *d, int fd);
+bool read_nint16 (kuint16 *n, int fd);
+bool write_nint16 (kuint16 const *n, int fd);
+bool read_nint32 (kuint32 *n, int fd);
+bool write_nint32 (kuint32 const *n, int fd);
+bool read_nfloat32 (float *f, int fd);
+bool write_nfloat32 (float const *f, int fd);
+bool read_nfloat64 (double *d, int fd);
+bool write_nfloat64 (double const *d, int fd);
void ConvertNetworkOrder (void* buffer, size_t bytes);
void ConvertReverseNetworkOrder (void* buffer, size_t bytes);