I need to convert a unicode literal (\uXXXX) to a rune but I only have a slice of runes representing the digits, e.g. for \u00E4 I have {0x30, 0x30, 0x45, 0x34}. To get to the rune I first use strconv.Unquote() to convert the literal into a string which contains the rune and then utf8.DecodeRuneInString() to get the actual rune.
This seems a bit convoluted. Is there a better way to do this?
Frank