# ATR

    @objcMembers
    public class ATR : BaseClass

SmartCardIO - ATR class

A Smart Card’s answer-to-reset bytes. A Card’s ATR object can be obtained by calling Card.getATR().

- `getBytes()`

  Returns a copy of the bytes contained in this ATR.

  #### Declaration

  Swift

      public func getBytes() -> Data

  #### Return Value

  Data containing the ATR

- `getHistoricalBytes()`

  Returns a copy of the historical bytes in this ATR. If this ATR does not contain historical bytes, an Data buffer of length zero is returned.

  #### Declaration

  Swift

      public func getHistoricalBytes() -> Data

  #### Return Value

  Data containing the ATR historical bytes

- `toString()`

  Returns a string representation of this ATR.

  #### Declaration

  Swift

      public func toString() -> String

  #### Return Value

  String representation of this ATR

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

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