encode(_:) Encodes the given value. Declarationmutating func encode(_ value: Double) throws Parametersvalue: The value to encode. Discussion