/* Returns: Number of bytes written, or -1 on error  */
gssize g_output_stream_write_bytes(GOutputStream *stream, GBytes *bytes, GCancellable *cancellable, GError **error)
/* Returns: Number of bytes written, or -1 on error  */
gssize g_output_stream_write_bytes(GOutputStream *stream, GBytes *bytes, GCancellable *cancellable, GError **error)
{
  gsize size;
  gconstpointer data;
  data = g_bytes_get_data (bytes, &size);
  return g_output_stream_write (stream,
                                data, size,
				cancellable,
				error);
}