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

fileWrapper(snapshot:configuration:)

Serialize the snapshot to file contents for a specified type.

Declaration 宣言

func fileWrapper(snapshot: Self.Snapshot, configuration: Self.WriteConfiguration) throws -> FileWrapper

Return Value 戻り値

The destination to serialize the document contents to. The value can be a newly created FileWrapper or an updated FileWrapper of the one provided in configuration.

Parameters パラメータ

snapshot

The snapshot of the document containing the state required to be saved.

configuration

The configuration for the current document contents.

See Also 参照

Writing a Document