Instance Method インスタンスメソッド

encode(_:forKey:)

Encodes the given value for the given key. 与えられたキーに対して与えられた値をエンコードします。

Declaration 宣言

mutating func encode(_ value: Int16, forKey key: Self.Key) throws

Parameters パラメータ

value

The value to encode. エンコードする値。

key

The key to associate the value with. 値と関連付けられるキー。