/* Returns: the number of bytes allocated for the data buffer  */
gsize g_memory_output_stream_get_size(GMemoryOutputStream *ostream)
/* Returns: the number of bytes allocated for the data buffer  */
gsize g_memory_output_stream_get_size(GMemoryOutputStream *ostream)
{
  g_return_val_if_fail (G_IS_MEMORY_OUTPUT_STREAM (ostream), 0);
  return ostream->priv->len;
}