1 package utf8 2 3 func RuneBytes(r rune) []byte { 4 rs := []byte{:UTFMax} 5 return rs[:EncodeRune(rs, r)] 6 }