Type Aliases

The following type aliases are available globally.

  • Convient alias to make list of UInt8 as Bytes

    Declaration

    Swift

    public typealias Bytes = [UInt8]
  • The wrapper for type of Result<T, Error>, used as block callback

    Declaration

    Swift

    public typealias Callback<T> = (Result<T, Error>) -> Void