save is called by the public methods on Sink.
(slot int, obj reflect.Value)
| 473 | |
| 474 | // save is called by the public methods on Sink. |
| 475 | func (oe *objectEncoder) save(slot int, obj reflect.Value) { |
| 476 | fieldValue := oe.encoded.Field(slot) |
| 477 | oe.es.encodeObject(obj, encodeDefault, fieldValue) |
| 478 | } |
| 479 | |
| 480 | // encodeStruct encodes a composite object. |
| 481 | func (es *encodeState) encodeStruct(obj reflect.Value, dest *wire.Object) { |
nothing calls this directly
no test coverage detected