WriteByte appends the byte c to the buffer. The purpose of this function is bytes.Buffer compatibility. The function always returns nil.
(c byte)
| 80 | // |
| 81 | // The function always returns nil. |
| 82 | func (b *ByteBuffer) WriteByte(c byte) error { |
| 83 | b.B = append(b.B, c) |
| 84 | return nil |
| 85 | } |
| 86 | |
| 87 | // WriteString appends s to ByteBuffer.B. |
| 88 | func (b *ByteBuffer) WriteString(s string) (int, error) { |
nothing calls this directly
no outgoing calls
no test coverage detected