(p []byte)
| 396 | } |
| 397 | |
| 398 | func (d *deltaBuffer) Write(p []byte) (int, error) { |
| 399 | d.mu.Lock() |
| 400 | defer d.mu.Unlock() |
| 401 | return d.buf.Write(p) |
| 402 | } |
| 403 | |
| 404 | // readDelta returns only the bytes appended |
| 405 | // after the last readDelta call. |
no outgoing calls