Contents

decode(_:)

Decodes a single value of the given type.

Declaration

func decode(_ type: Int.Type) throws -> Int

Parameters

  • type:

    The type to decode as.

Return Value

A value of the requested type.

Discussion