public static boolean isUUID ( BufferedString str ) { boolean res ; int old = str . getOffset ( ) ; attemptUUIDParseLow ( str ) ; attemptUUIDParseHigh ( str ) ; res = str . getOffset ( ) != - 1 ; str . setOff ( old ) ; return res ; }
Confirms whether the provided UUID is considered valid .