<!-- ##### SECTION Title ##### -->
I/O Stream

<!-- ##### SECTION Short_Description ##### -->
Providing streaming I/O writing to files, strings or user code.

<!-- ##### SECTION Long_Description ##### -->
<para>
An class providing an I/O writer abstraction that allows generating
output that can be stored or passed on to system files, strings
allocated in memory (usually via #raptor_stringbuffer), system
file handles (<literal>FILE*</literal>) or to a user function.
</para>

<!-- ##### SECTION See_Also ##### -->
<para>

</para>

<!-- ##### SECTION Stability_Level ##### -->


<!-- ##### SECTION Image ##### -->


<!-- ##### TYPEDEF raptor_iostream ##### -->
<para>

</para>


<!-- ##### USER_FUNCTION raptor_iostream_init_func ##### -->
<para>

</para>

@context: 
@Returns: 


<!-- ##### USER_FUNCTION raptor_iostream_finish_func ##### -->
<para>

</para>

@context: 


<!-- ##### USER_FUNCTION raptor_iostream_write_byte_func ##### -->
<para>

</para>

@context: 
@byte: 
@Returns: 


<!-- ##### USER_FUNCTION raptor_iostream_write_bytes_func ##### -->
<para>

</para>

@context: 
@ptr: 
@size: 
@nmemb: 
@Returns: 


<!-- ##### USER_FUNCTION raptor_iostream_write_end_func ##### -->
<para>

</para>

@context: 
@Returns: 


<!-- ##### USER_FUNCTION raptor_iostream_read_bytes_func ##### -->
<para>

</para>

@context: 
@ptr: 
@size: 
@nmemb: 
@Returns: 


<!-- ##### USER_FUNCTION raptor_iostream_read_eof_func ##### -->
<para>

</para>

@context: 
@Returns: 


<!-- ##### STRUCT raptor_iostream_handler ##### -->
<para>

</para>

@version: 
@init: 
@finish: 
@write_byte: 
@write_bytes: 
@write_end: 
@read_bytes: 
@read_eof: 

<!-- ##### FUNCTION raptor_new_iostream_from_handler ##### -->
<para>

</para>

@world: 
@user_data: 
@handler: 
@Returns: 


<!-- ##### FUNCTION raptor_new_iostream_from_sink ##### -->
<para>

</para>

@world: 
@Returns: 


<!-- ##### FUNCTION raptor_new_iostream_from_filename ##### -->
<para>

</para>

@world: 
@filename: 
@Returns: 


<!-- ##### FUNCTION raptor_new_iostream_from_file_handle ##### -->
<para>

</para>

@world: 
@handle: 
@Returns: 


<!-- ##### FUNCTION raptor_new_iostream_from_string ##### -->
<para>

</para>

@world: 
@string: 
@length: 
@Returns: 


<!-- ##### FUNCTION raptor_new_iostream_to_sink ##### -->
<para>

</para>

@world: 
@Returns: 


<!-- ##### FUNCTION raptor_new_iostream_to_filename ##### -->
<para>

</para>

@world: 
@filename: 
@Returns: 


<!-- ##### FUNCTION raptor_new_iostream_to_file_handle ##### -->
<para>

</para>

@world: 
@handle: 
@Returns: 


<!-- ##### FUNCTION raptor_new_iostream_to_string ##### -->
<para>

</para>

@world: 
@string_p: 
@length_p: 
@malloc_handler: 
@Returns: 


<!-- ##### FUNCTION raptor_free_iostream ##### -->
<para>

</para>

@iostr: 


<!-- ##### FUNCTION raptor_iostream_hexadecimal_write ##### -->
<para>

</para>

@integer: 
@width: 
@iostr: 
@Returns: 


<!-- ##### FUNCTION raptor_iostream_read_bytes ##### -->
<para>

</para>

@ptr: 
@size: 
@nmemb: 
@iostr: 
@Returns: 


<!-- ##### FUNCTION raptor_iostream_read_eof ##### -->
<para>

</para>

@iostr: 
@Returns: 


<!-- ##### FUNCTION raptor_iostream_tell ##### -->
<para>

</para>

@iostr: 
@Returns: 


<!-- ##### FUNCTION raptor_iostream_counted_string_write ##### -->
<para>

</para>

@string: 
@len: 
@iostr: 
@Returns: 


<!-- ##### FUNCTION raptor_iostream_decimal_write ##### -->
<para>

</para>

@integer: 
@iostr: 
@Returns: 


<!-- ##### FUNCTION raptor_iostream_string_write ##### -->
<para>

</para>

@string: 
@iostr: 
@Returns: 


<!-- ##### FUNCTION raptor_iostream_write_byte ##### -->
<para>

</para>

@byte: 
@iostr: 
@Returns: 


<!-- ##### FUNCTION raptor_iostream_write_bytes ##### -->
<para>

</para>

@ptr: 
@size: 
@nmemb: 
@iostr: 
@Returns: 


<!-- ##### FUNCTION raptor_iostream_write_end ##### -->
<para>

</para>

@iostr: 
@Returns: 


<!-- ##### FUNCTION raptor_bnodeid_ntriples_write ##### -->
<para>

</para>

@bnodeid: 
@len: 
@iostr: 
@Returns: 


<!-- ##### ENUM raptor_escaped_write_bitflags ##### -->
<para>

</para>

@RAPTOR_ESCAPED_WRITE_BITFLAG_BS_ESCAPES_BF: 
@RAPTOR_ESCAPED_WRITE_BITFLAG_BS_ESCAPES_TNRU: 
@RAPTOR_ESCAPED_WRITE_BITFLAG_UTF8: 
@RAPTOR_ESCAPED_WRITE_BITFLAG_SPARQL_URI_ESCAPES: 
@RAPTOR_ESCAPED_WRITE_NTRIPLES_LITERAL: 
@RAPTOR_ESCAPED_WRITE_NTRIPLES_URI: 
@RAPTOR_ESCAPED_WRITE_SPARQL_LITERAL: 
@RAPTOR_ESCAPED_WRITE_SPARQL_LONG_LITERAL: 
@RAPTOR_ESCAPED_WRITE_SPARQL_URI: 
@RAPTOR_ESCAPED_WRITE_TURTLE_URI: 
@RAPTOR_ESCAPED_WRITE_TURTLE_LITERAL: 
@RAPTOR_ESCAPED_WRITE_TURTLE_LONG_LITERAL: 
@RAPTOR_ESCAPED_WRITE_JSON_LITERAL: 

<!-- ##### FUNCTION raptor_string_escaped_write ##### -->
<para>

</para>

@string: 
@len: 
@delim: 
@flags: 
@iostr: 
@Returns: 


<!-- ##### FUNCTION raptor_term_escaped_write ##### -->
<para>

</para>

@term: 
@flags: 
@iostr: 
@Returns: 


<!-- ##### FUNCTION raptor_uri_escaped_write ##### -->
<para>

</para>

@uri: 
@base_uri: 
@flags: 
@iostr: 
@Returns: 


<!-- ##### FUNCTION raptor_string_ntriples_write ##### -->
<para>

</para>

@string: 
@len: 
@delim: 
@iostr: 
@Returns: 


<!-- ##### FUNCTION raptor_string_python_write ##### -->
<para>

</para>

@string: 
@len: 
@delim: 
@mode: 
@iostr: 
@Returns: 


