RecAPI
|
API for handling input and output files through memory or other non-standard I/O devices. Supported on: Windows. More...
Classes |
|
struct | _R_IOStreamfuncs |
Container structure of the IOStream callback functions. More... |
|
Typedefs |
|
typedef struct _R_IOStreamfuncs | R_IOStreamfuncs |
Container structure of the IOStream callback functions. |
|
Functions |
|
RECERR RECAPIKRN | kRecSetIOStreamCB (R_IOStreamfuncs *api) |
IOStream. |
API for handling input and output files through memory or other non-standard I/O devices. Supported on: Windows.
typedef struct _R_IOStreamfuncsR_IOStreamfuncs |
Container structure of the IOStream callback functions.
streamname
is UTF8 in open/access/is_stream
RECERR RECAPIKRN kRecSetIOStreamCB | ( | R_IOStreamfuncs * | api | ) |
IOStream.
This function sets the application callback API for streaming IO.
[in] | api | Pointer to the R_IOStreamfuncs structure containing callback functions. Must be provided and implemented by the application. NULL to turn off the callback mechanism. |
FileStream
and MemoryStream
are directly supported as well as byte[]
objects. These standard streams can be set using IOStreamCB.SetStream("userStreamName", Stream or byte[])
Any other non standard IO has to be completely implemented in the callbacks by the application. int kRecSetIOStreamCB(IOStreamCallbacks iosCB)