If used on big endian platform build with BIG_ENDIAN defined.

The library allocate new char arrays with malloc for InOut and Out strings. The
library does not deallocate existing char arrays for In an InOut strings (obvious
as the librray has no way to know if it is dynamic allocated). It is the client
aplications responsibility to free both as needed.

Custom types must be done using special convention. For a type foobar:

#ifndef FOOBAR_H
#define FOOBAR_H

...

#ifdef __cplusplus
extern "C" {
#endif

struct foobar_t
{
    ...
};

typedef struct foobar_t *foobar;
#ifdef __cplusplus
}
#endif

#endif

