(s string)
| 245 | } |
| 246 | |
| 247 | func (b *StringBuilder) writeASCII(s string) { |
| 248 | if b.ascii() { |
| 249 | b.asciiBuilder.WriteString(s) |
| 250 | } else { |
| 251 | b.unicodeBuilder.writeASCIIString(s) |
| 252 | } |
| 253 | } |
| 254 | |
| 255 | func (b *StringBuilder) WriteRune(r rune) { |
| 256 | if r < utf8.RuneSelf { |
no test coverage detected