# Helper

    class Helper

Static Helper class. Contains generic helper functions

- `init()`

  Private initialiser

  #### Declaration

  Swift

      private init()

- `dataToHexString(data:)`

  Converts entered data, e.g. 0x12, 0xAF, into a displayable hexadecimal string (separated by spaces), e.g. “12 AF”

  #### Declaration

  Swift

      static func dataToHexString(data: Data) -> String

  #### Parameters

  `data` | Data to convert

  #### Return Value

  String; string containing the hexadecimal display values of the entered data

- `hexStringToData(hexString:)`

  Converts a entered hexadecimal string, e.g. “12 AF ”…, into Data (no checking is performed)

  #### Declaration

  Swift

      static func hexStringToData(hexString: String) -> Data

  #### Parameters

  `hexString` | String holding hexadecimal display values (with or without spaces)

  #### Return Value

  Data holding the hexadecimal values

Copyright (c) 2018-2024, AB Circle Ltd. All rights reserved.

Generated by jazzy ♪♫ v0.14.3, a Realm project.