go-htmlescape/string.go

11 lines
161 B
Go
Raw Normal View History

2024-02-13 16:02:34 +00:00
package htmlescape
func String(str string) string {
var buffer [bufferSize]byte
var p []byte = buffer[0:9]
p, _ = AppendString(p, str)
return string(p)
}