Transfer an LO handle between computers (Server)

For an LO handle to be portable when transferred across different computer architectures, the DataBlade® API provides functions to handle type alignment and byte order.

mi_get_lo_handle()
Copies an aligned LO handle, converting any difference in alignment or byte order on the client computer to that of the server computer
mi_put_lo_handle()
Copies an aligned LO handle, converting any difference in alignment or byte order on the server computer to that of the client computer

The mi_get_lo_handle() and mi_put_lo_handle() functions are useful in the send and receive support function of an opaque data type that contains a smart large object. They enable you to ensure that BLOB or CLOB values (LO handles) remained aligned when transferred to and from client applications.