Transfer character data (Server)

To transfer character data between different computer architectures, the DataBlade® API provides functions that handle type alignment.

mi_get_string()
Copies a character string, converting any difference in alignment on the client computer to that of the server computer
mi_put_string()
Copies a character string, converting any difference in alignment on the server computer to that of the client computer

The mi_get_string() and mi_put_string() functions are useful in the send and receive support function of an opaque data type that contains character data (such as mi_string or mi_char). They ensure that character data remains aligned when transferred to and from client applications.