---
title: "encode(_:to:)"
framework: createmlcomponents
role: symbol
role_heading: Instance Method
path: "createmlcomponents/tabulartransformertoupdatableestimatoradaptor/encode(_:to:)"
---

# encode(_:to:)

Does nothing since this estimator uses a pre-defined transformer.

## Declaration

```swift
func encode(_ transformer: Transformer, to encoder: inout any EstimatorEncoder) throws
```

## See Also

### Encoding and decoding

- [decode(from:)](createmlcomponents/tabulartransformertoupdatableestimatoradaptor/decode(from:).md)
- [encodeWithOptimizer(_:to:)](createmlcomponents/tabulartransformertoupdatableestimatoradaptor/encodewithoptimizer(_:to:).md)
- [decodeWithOptimizer(from:)](createmlcomponents/tabulartransformertoupdatableestimatoradaptor/decodewithoptimizer(from:).md)
