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

encode(_:forKey:)

Encodes a given 64-bit integer value and associates it with a key. 与えられた64ビット整数値をエンコードして、それをあるキーと結びつけます。

Declaration 宣言

func encode(_ value: Int64, 
     forKey key: String)

Parameters パラメータ

intv

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

key

The key with which to associate intv. This value must not be nil. このキーとintvを結び付けます。この値は、nilではいけません。

See Also 参照

Encoding Data and Objects データとオブジェクトをエンコードする

Related Documentation 関連文書