WriteString implements Writer.
(s string)
| 147 | |
| 148 | // WriteString implements Writer. |
| 149 | func (b *SafeLinkBuffer) WriteString(s string) (n int, err error) { |
| 150 | b.Lock() |
| 151 | defer b.Unlock() |
| 152 | return b.UnsafeLinkBuffer.WriteString(s) |
| 153 | } |
| 154 | |
| 155 | // WriteBinary implements Writer. |
| 156 | func (b *SafeLinkBuffer) WriteBinary(p []byte) (n int, err error) { |
nothing calls this directly
no test coverage detected