WriteString shadows the ib.Buffer.WriteString method.
(s string)
| 69 | |
| 70 | // WriteString shadows the ib.Buffer.WriteString method. |
| 71 | func (b *StringBuilder) WriteString(s string) (int, error) { |
| 72 | b.SetMode(ib.UnsafeEscaped) |
| 73 | return b.Buffer.WriteString(s) |
| 74 | } |
| 75 | |
| 76 | // WriteByte shadows the ib.Buffer.WriteByte method. |
| 77 | func (b *StringBuilder) WriteByte(c byte) error { |