/* Returns: TRUE if @data was successfully added to the @stream.  */
gboolean g_data_output_stream_put_byte(GDataOutputStream *stream, guchar data, GCancellable *cancellable, GError **error)
/* Returns: TRUE if @data was successfully added to the @stream.  */
gboolean g_data_output_stream_put_byte(GDataOutputStream *stream, guchar data, GCancellable *cancellable, GError **error)
{
  gsize bytes_written;
  g_return_val_if_fail (G_IS_DATA_OUTPUT_STREAM (stream), FALSE);
  return g_output_stream_write_all (G_OUTPUT_STREAM (stream),
				    &data, 1,
				    &bytes_written,
				    cancellable, error);
}