/* Returns: the contents of the @attribute value as a byte string, or NULL otherwise.  */
const char* g_file_info_get_attribute_byte_string(GFileInfo *info, const char *attribute)
/* Returns: the contents of the @attribute value as a byte string, or NULL otherwise.  */
const char* g_file_info_get_attribute_byte_string(GFileInfo *info, const char *attribute)
{
  GFileAttributeValue *value;
  g_return_val_if_fail (G_IS_FILE_INFO (info), NULL);
  g_return_val_if_fail (attribute != NULL && *attribute != '\0', NULL);
  value = g_file_info_find_value_by_name (info, attribute);
  return _g_file_attribute_value_get_byte_string (value);
}