GetEncodedSize returns size of the encoded value. Encoded element may be var-length. This function is used to determine element size without the need of encoding it.
([]byte)
| 37 | // This function is used to determine element size without the need of |
| 38 | // encoding it. |
| 39 | GetEncodedSize([]byte) int |
| 40 | } |
| 41 | |
| 42 | // EncoderOf returns a `Encoder` implementation for type of `e` |
no outgoing calls