(p []byte)
| 51 | } |
| 52 | |
| 53 | func (o *MemoryObject) Write(p []byte) (n int, err error) { |
| 54 | o.cont = append(o.cont, p...) |
| 55 | o.sz = int64(len(o.cont)) |
| 56 | |
| 57 | return len(p), nil |
| 58 | } |
| 59 | |
| 60 | // Close releases any resources consumed by the object when it is acting as a |
| 61 | // ObjectWriter. |
no outgoing calls