(dst []byte)
| 63 | } |
| 64 | |
| 65 | func (a *Array) write(dst []byte) []byte { |
| 66 | dst = enc.AppendArrayStart(dst) |
| 67 | if len(a.buf) > 0 { |
| 68 | dst = append(dst, a.buf...) |
| 69 | } |
| 70 | dst = enc.AppendArrayEnd(dst) |
| 71 | putArray(a) |
| 72 | return dst |
| 73 | } |
| 74 | |
| 75 | // Object marshals an object that implement the LogObjectMarshaler |
| 76 | // interface and appends it to the array. |
no test coverage detected