(v *View)
| 33 | } |
| 34 | |
| 35 | func (b *Buffer) removeView(v *View) { |
| 36 | b.data.Remove(v) |
| 37 | v.Release() |
| 38 | } |
| 39 | |
| 40 | // MakeWithData creates a new Buffer initialized with given data. This function |
| 41 | // should be used with caution to avoid unnecessary []byte allocations. When in |