MCPcopy Index your code
hub / github.com/dop251/goja / writeUnicodeString

Method writeUnicodeString

string_unicode.go:204–207  ·  view source on GitHub ↗
(str unicodeString)

Source from the content-addressed store, hash-verified

202}
203
204func (b *unicodeStringBuilder) writeUnicodeString(str unicodeString) {
205 b.buf = append(b.buf, str[1:]...)
206 b.unicode = true
207}
208
209func (b *StringBuilder) ascii() bool {
210 return len(b.unicodeBuilder.buf) == 0

Callers 2

stringproto_repeatMethod · 0.95
WriteStringMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected