1. Dart
2. dart:convert
3. Codec<S, T>
4. encode method

##### Codec class

1. Constructors
2. Codec
3. Properties
4. decoder
5. encoder
6. inverted
7. hashCode
8. runtimeType
9. Methods
10. decode
11. encode
12. fuse
13. noSuchMethod
14. toString
15. Operators
16. operator ==

# encode method

T encode (S input)

Encodes `input`.

The input is encoded as if by `encoder.convert`.

## Implementation

    T encode(S input) => encoder.convert(input);