Home | Previous Page | Next Page   Data Manipulation > Using Smart Large Objects >

Transferring an LO Handle Between Computers (Server)

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

DataBlade API Function
Description
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. For more information, see Conversion of Opaque-Type Data with Computer-Specific Data Types.

Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]