EMEmvByte

Objective-C

@protocol EMEmvByte <NSObject>

Swift

protocol EMEmvByte : NSObjectProtocol

Byte class providing method to create EMVQR primitive data type that represent unsigned integer values.

  • creates an instance which conform to this protocol

    Declaration

    Objective-C

    + (instancetype)byteWithValue:(Byte)aValue;

    Swift

    static func withValue(_ aValue: UInt8) -> Self!

    Parameters

    aValue

    Byte value

    Return Value

    instancetype

  • An 8-bit unsigned integer value type. It has a minimum value of 0 and a maximum value of 255.

    Declaration

    Objective-C

    @property (nonatomic) Byte value;

    Swift

    var value: UInt8 { get set }