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