error_type | InputOutputStream_CreateFromFile (string_type filename, InputOutputStreamHandle **result) |
| Opens an existing file at filename for read and write.
|
|
error_type | InputOutputStream_CreateFromMemory (InputOutputStreamHandle **result) |
| Creates a memory buffer for data manipulation.
|
|
error_type | InputOutputStream_Read (InputOutputStreamHandle *handle, bigint_type length, char *result, bigint_type *read_length) |
| Reads data from input stream and stores them in the resulting array. More...
|
|
error_type | InputOutputStream_ReadBuffer (InputOutputStreamHandle *handle, bigint_type length, BufferHandle **result) |
| Reads data from input stream and stores them in the resulting buffer. More...
|
|
error_type | InputOutputStream_GetInputPosition (InputOutputStreamHandle *handle, offset_type *result) |
| Gets current offset in the input stream. More...
|
|
error_type | InputOutputStream_SetInputPosition (InputOutputStreamHandle *handle, offset_type value) |
| Sets current offset in the input stream. More...
|
|
error_type | InputOutputStream_GetOutputPosition (InputOutputStreamHandle *handle, offset_type *result) |
| Gets current offset in the output stream. More...
|
|
error_type | InputOutputStream_SetOutputPosition (InputOutputStreamHandle *handle, offset_type value) |
| Sets current offset in the output stream. More...
|
|
error_type | InputOutputStream_WriteString (InputOutputStreamHandle *handle, string_type data) |
| Appends null terminated string to current output stream instance. More...
|
|
error_type | InputOutputStream_WriteBuffer (InputOutputStreamHandle *handle, BufferHandle *data) |
| Appends buffer string to current output stream instance. More...
|
|
error_type | InputOutputStream_Flush (InputOutputStreamHandle *handle) |
| Flushes all pending data from the stream to it's destination. More...
|
|
error_type | InputOutputStream_ToInputStream (InputOutputStreamHandle *handle, InputStreamHandle **result) |
| Reinterpret current object as InputStreamHandle.
|
|
error_type | InputOutputStream_FromInputStream (InputStreamHandle *handle, InputOutputStreamHandle **result) |
| Convert InputStreamHandle to InputOutputStreamHandle.
|
|
error_type | InputOutputStream_ToOutputStream (InputOutputStreamHandle *handle, OutputStreamHandle **result) |
| Reinterpret current object as OutputStreamHandle.
|
|
error_type | InputOutputStream_FromOutputStream (OutputStreamHandle *handle, InputOutputStreamHandle **result) |
| Convert InputStreamHandle to InputOutputStreamHandle.
|
|
error_type | InputOutputStream_ToUnknown (InputOutputStreamHandle *handle, IUnknownHandle **result) |
| Reinterpret current object as IUnknownHandle.
|
|
error_type | InputOutputStream_FromUnknown (IUnknownHandle *handle, InputOutputStreamHandle **result) |
| Convert IUnknownHandle to InputOutputStreamHandle.
|
|
error_type | InputOutputStream_Release (InputOutputStreamHandle *handle) |
| Decrement the internal reference counter. More...
|
|
|
Public Member Functions inherited from InputStreamHandle |
error_type | InputStream_CreateFromFile (string_type filename, InputStreamHandle **result) |
| Opens an existing file at filename for read.
|
|
Public Member Functions inherited from IUnknownHandle |
error_type | IUnknown_AddRef (IUnknownHandle *handle) |
| Increment the internal reference counter.
|
|
Public Member Functions inherited from OutputStreamHandle |
error_type | OutputStream_CreateFromFile (string_type filename, OutputStreamHandle **result) |
| Creates a new file at filename location and opens it for writing.
|
|
Related Functions inherited from InputStreamHandle |
error_type | InputStream_CreateFromBuffer (BufferHandle *data, InputStreamHandle **result) |
| Reads all data from buffer and stores them for later use. More...
|
|
error_type | InputStream_Read (InputStreamHandle *handle, bigint_type length, char *result, bigint_type *read_length) |
| Reads data from input stream and stores them in the resulting array. More...
|
|
error_type | InputStream_ReadBuffer (InputStreamHandle *handle, bigint_type length, BufferHandle **result) |
| Reads data from input stream and stores them in the resulting buffer.
|
|
error_type | InputStream_ToBuffer (InputStreamHandle *handle, BufferHandle **result) |
| Reads all data from the input stream and returns them as a single large buffer. More...
|
|
error_type | InputStream_GetInputPosition (InputStreamHandle *handle, offset_type *result) |
| Gets current offset in the input stream.
|
|
error_type | InputStream_SetInputPosition (InputStreamHandle *handle, offset_type value) |
| Sets current offset in the input stream.
|
|
error_type | InputStream_ToUnknown (InputStreamHandle *handle, IUnknownHandle **result) |
| Reinterpret current object as IUnknownHandle.
|
|
error_type | InputStream_FromUnknown (IUnknownHandle *handle, InputStreamHandle **result) |
| Convert IUnknownHandle to InputStreamHandle.
|
|
error_type | InputStream_Release (InputStreamHandle *handle) |
| Decrement the internal reference counter. More...
|
|
Related Functions inherited from IUnknownHandle |
error_type | IUnknown_Release (IUnknownHandle *handle) |
| Decrement the internal reference counter. More...
|
|
Related Functions inherited from OutputStreamHandle |
error_type | OutputStream_GetOutputPosition (OutputStreamHandle *handle, offset_type *result) |
| Gets current offset in the output stream.
|
|
error_type | OutputStream_SetOutputPosition (OutputStreamHandle *handle, offset_type value) |
| Sets current offset in the output stream.
|
|
error_type | OutputStream_WriteString (OutputStreamHandle *handle, string_type data) |
| Appends null terminated string to current output stream instance.
|
|
error_type | OutputStream_WriteBuffer (OutputStreamHandle *handle, BufferHandle *data) |
| Appends buffer string to current output stream instance.
|
|
error_type | OutputStream_Flush (OutputStreamHandle *handle) |
| Flushes all pending data from the stream to it's destination.
|
|
error_type | OutputStream_ToUnknown (OutputStreamHandle *handle, IUnknownHandle **result) |
| Reinterpret current object as IUnknownHandle.
|
|
error_type | OutputStream_FromUnknown (IUnknownHandle *handle, OutputStreamHandle **result) |
| Convert IUnknownHandle to OutputStreamHandle.
|
|
error_type | OutputStream_Release (OutputStreamHandle *handle) |
| Decrement the internal reference counter. More...
|
|
Input stream can read and interpret input from sequences of characters.
- Examples:
- write_custom.c.