FileStorage

public class FileStorage : Storage

Undocumented

  • Creates a new instance that will store the device configuration at the given file path.

    Declaration

    Swift

    public init(filename: String)

    Parameters

    filename

    path to the file

  • Undocumented

    Declaration

    Swift

    public func read() throws -> Data
  • Undocumented

    Declaration

    Swift

    public func write(_ newValue: Data) throws