Data

struct Data : ReferenceConvertible, Equatable, Hashable, RandomAccessCollection, MutableCollection, RangeReplaceableCollection, MutableDataProtocol, ContiguousBytes
  • Mechanica

    Returns self as an array of bytes.

    Declaration

    Swift

    public var bytes: [UInt8] { get }
  • Mechanica

    Returns an hexadecimal string representation (in lowercase) of the content.

    Declaration

    Swift

    public var hexEncodedString: String { get }