/* Returns: an unsigned 8-bit/1-byte value read from the @stream or %0 if an error occurred.  */
guchar g_data_input_stream_read_byte(GDataInputStream *stream, GCancellable *cancellable, GError **error)
/* Returns: an unsigned 8-bit/1-byte value read from the @stream or %0 if an error occurred.  */
guchar g_data_input_stream_read_byte(GDataInputStream *stream, GCancellable *cancellable, GError **error)
{
  guchar c;
  g_return_val_if_fail (G_IS_DATA_INPUT_STREAM (stream), '\0');
  if (read_data (stream, &c, 1, cancellable, error))
      return c;
  return 0;
}