Input and output operations

The DataBlade® API provides functions to perform input and output (I/O) operations.

Table 1. DataBlade API functions that perform input and output (I/O) operations
Function category DataBlade API function
Using the operating-system file interface

mi_file_close()
mi_file_errno()
mi_file_open()
mi_file_read()
mi_file_seek()
mi_file_seek8()

mi_file_sync()
mi_file_tell()
mi_file_tell8()
mi_file_to_file()
mi_file_unlink()
mi_file_write()

Using the stream I/O interface (Server side only)

mi_stream_close()
mi_stream_eof()
mi_stream_get_error()
mi_stream_getpos()
mi_stream_init()
mi_stream_length()
mi_stream_open_fio()
mi_stream_open_mi_lvarchar()
mi_stream_open_str()
mi_stream_read()
mi_stream_seek()
mi_stream_set_error()
mi_stream_setpos()
mi_stream_tell()
mi_stream_write()
mi_streamread_boolean()
mi_streamread_collection()
mi_streamread_date()
mi_streamread_datetime()
mi_streamread_decimal()
mi_streamread_double()
mi_streamread_int8()
mi_streamread_integer()
mi_streamread_interval()

mi_streamread_lo_by_lofd()
mi_streamread_lvarchar()
mi_streamread_money()
mi_streamread_real()
mi_streamread_row()
mi_streamread_smallint()
mi_streamread_string()
mi_streamwrite_boolean()
mi_streamwrite_collection()
mi_streamwrite_date()
mi_streamwrite_datetime()
mi_streamwrite_decimal()
mi_streamwrite_double()
mi_streamwrite_int8()
mi_streamwrite_integer()
mi_streamwrite_interval()
mi_streamwrite_lo()
mi_streamwrite_lvarchar()
mi_streamwrite_money()
mi_streamwrite_real()
mi_streamwrite_row()
mi_streamwrite_smallint()
mi_streamwrite_string()

Deprecated functions: mi_file_allocate()