Contents

validateTag(_:)

Checks to see whether a Virtio tag is valid.

Declaration

class func validateTag(_ tag: String) throws

Parameters

  • tag:

    The tag to validate.

Mentioned in

Discussion

The tag can’t be empty and must be fewer than 36 bytes when encoded in UTF-8.