Bytes returns inner gather.Bytes.
()
| 112 | |
| 113 | // Bytes returns inner gather.Bytes. |
| 114 | func (b *WriteBuffer) Bytes() Bytes { |
| 115 | b.mu.Lock() |
| 116 | defer b.mu.Unlock() |
| 117 | |
| 118 | return b.inner |
| 119 | } |
| 120 | |
| 121 | // Append appends the specified slice of bytes to the buffer. |
| 122 | func (b *WriteBuffer) Append(data []byte) { |