Data

  • SwifterSwift: Return data as an array of bytes.

    Declaration

    Swift

    public var bytes: [UInt8]
  • SwifterSwift: String by encoding Data using the given encoding (if applicable).

    Declaration

    Swift

    public func string(encoding: String.Encoding) -> String?

    Parameters

    encoding

    encoding.

    Return Value

    String by encoding Data using the given encoding (if applicable).