/* Sets the attribute value to a given byte string.  */
void _g_file_attribute_value_set_byte_string(GFileAttributeValue *attr, const char *string)
/* Sets the attribute value to a given byte string.  */
void _g_file_attribute_value_set_byte_string(GFileAttributeValue *attr, const char *string)
{
  g_return_if_fail (attr != NULL);
  g_return_if_fail (string != NULL);
  _g_file_attribute_value_clear (attr);
  attr->type = G_FILE_ATTRIBUTE_TYPE_BYTE_STRING;
  attr->u.string = g_strdup (string);
}