mi_integer mi_streamread_lo(strm_desc, LO_hdl_dptr)
MI_STREAM *strm_desc;
MI_LO_HANDLE **LO_hdl_dptr;
The mi_streamread_lo( ) function reads smart-large-object data from the stream that strm_desc references and copies the data to the smart large object at the address that LO_hdl_dptr references, which is always in the default sbspace. To control the location of the smart large object, you can use the mi_streamread_lo_by_lofd( ) function instead.
The read begins at the current seek position of the stream. You can use the mi_stream_tell( ) or mi_stream_getpos( ) function to obtain the current stream seek position.
The function is a constructor function for an LO handle. It allocates memory for the LO handle in the current memory duration.
The mi_streamread_lo( ) function is useful in a streamread( ) support function of an opaque data type that contains a smart large object.
See also the descriptions of mi_stream_getpos( ), mi_stream_read( ), mi_stream_tell( ), mi_streamread_lo_by_lofd( ), and mi_streamwrite_lo( ).