<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[char-Array in std::iostream]]></title><description><![CDATA[<p>Hi.<br />
Ich habe ein char-Array und möchte das nun mit einem std::iostream verbinden ohne das ganze char-Array beispielsweise per std::iostream::write() nochmal in den Stream zu schreiben(dauert gerade bei großen Datenmengen zu lange). Mit der Funktion std::iostream::rdbuf würde ich zwar den Streambuffer bekommen, unglücklicherweise ist aber die Funktion std::streambuf::setbuf() mit der ich den Buffer dann auch setzen könnte protected. Gibt es überhaupt eine Möglichkeit den Buffer von außen zu setzen?</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/213325/char-array-in-std-iostream</link><generator>RSS for Node</generator><lastBuildDate>Wed, 14 Oct 2026 07:21:32 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/213325.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 16 May 2008 13:37:57 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to char-Array in std::iostream on Fri, 16 May 2008 13:43:04 GMT]]></title><description><![CDATA[<p>Hi.<br />
Ich habe ein char-Array und möchte das nun mit einem std::iostream verbinden ohne das ganze char-Array beispielsweise per std::iostream::write() nochmal in den Stream zu schreiben(dauert gerade bei großen Datenmengen zu lange). Mit der Funktion std::iostream::rdbuf würde ich zwar den Streambuffer bekommen, unglücklicherweise ist aber die Funktion std::streambuf::setbuf() mit der ich den Buffer dann auch setzen könnte protected. Gibt es überhaupt eine Möglichkeit den Buffer von außen zu setzen?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1510505</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1510505</guid><dc:creator><![CDATA[krabbels]]></dc:creator><pubDate>Fri, 16 May 2008 13:43:04 GMT</pubDate></item><item><title><![CDATA[Reply to char-Array in std::iostream on Fri, 16 May 2008 15:32:30 GMT]]></title><description><![CDATA[<p>muss du nen eigenen streambuf schreiben und per rdbuf setzen</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1510594</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1510594</guid><dc:creator><![CDATA[ableiten]]></dc:creator><pubDate>Fri, 16 May 2008 15:32:30 GMT</pubDate></item><item><title><![CDATA[Reply to char-Array in std::iostream on Fri, 16 May 2008 17:44:10 GMT]]></title><description><![CDATA[<p>setbuf ist protected, aber <a href="http://www.cplusplus.com/reference/iostream/streambuf/pubsetbuf.html" rel="nofollow">pubsetbuf</a> ist, wie der Name schon andeutet, public.</p>
<p>Gruß<br />
Don06</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1510691</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1510691</guid><dc:creator><![CDATA[Don06]]></dc:creator><pubDate>Fri, 16 May 2008 17:44:10 GMT</pubDate></item><item><title><![CDATA[Reply to char-Array in std::iostream on Sat, 17 May 2008 12:57:16 GMT]]></title><description><![CDATA[<p>Hm, das habe übersehen. Nur bleibt mir der Sinn dahinter verborgen..</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1511002</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1511002</guid><dc:creator><![CDATA[krabbels]]></dc:creator><pubDate>Sat, 17 May 2008 12:57:16 GMT</pubDate></item></channel></rss>