summaryrefslogtreecommitdiff
path: root/gio/src/bufferedoutputstream.hg
diff options
context:
space:
mode:
Diffstat (limited to 'gio/src/bufferedoutputstream.hg')
-rw-r--r--gio/src/bufferedoutputstream.hg14
1 files changed, 7 insertions, 7 deletions
diff --git a/gio/src/bufferedoutputstream.hg b/gio/src/bufferedoutputstream.hg
index 3a1ecca7..7d35ca9b 100644
--- a/gio/src/bufferedoutputstream.hg
+++ b/gio/src/bufferedoutputstream.hg
@@ -27,11 +27,11 @@ namespace Gio
{
/** The buffered output stream implements FilterOutputStream and provides for buffered writes.
- * By default, BufferedOutputStream's buffer size is set at 4 kilobytes, but you
+ * By default, BufferedOutputStream's buffer size is set at 4 kilobytes, but you
* can specify this to the constructor.
*
- * To get the size of a buffer within a buffered input stream, use get_buffer_size().
- * To change the size of a buffered output stream's buffer, use set_buffer_size().
+ * To get the size of a buffer within a buffered input stream, use get_buffer_size().
+ * To change the size of a buffered output stream's buffer, use set_buffer_size().
* Note that the buffer's size cannot be reduced below the size of the data within the buffer.
*
* @ingroup Streams
@@ -43,7 +43,7 @@ class BufferedOutputStream : public Gio::FilterOutputStream
_CLASS_GOBJECT(BufferedOutputStream, GBufferedOutputStream, G_BUFFERED_OUTPUT_STREAM, Gio::FilterOutputStream, GFilterOutputStream)
protected:
_WRAP_CTOR(BufferedOutputStream(const Glib::RefPtr<OutputStream>& base_stream), g_buffered_output_stream_new)
-
+
//Note that we rename the size parameter to buffer_size because that is the actual name of the property.
_WRAP_CTOR(BufferedOutputStream(const Glib::RefPtr<OutputStream>& base_stream, gsize buffer_size), g_buffered_output_stream_new_sized)
@@ -54,12 +54,12 @@ public:
* @result an OutputStream for the given base stream.
*/
_WRAP_CREATE(const Glib::RefPtr<OutputStream>& base_stream)
-
- /** Creates a new buffered output stream with a given buffer size.
+
+ /** Creates a new buffered output stream with a given buffer size.
*
* @param base_stream An InputStream.
* @param size A size.
- * @result an OutputStream with an internal buffer set to size.
+ * @result an OutputStream with an internal buffer set to size.
*/
static Glib::RefPtr<BufferedOutputStream> create_sized(const Glib::RefPtr<OutputStream>& base_stream, gsize buffer_size);