FileIdentifier
public struct FileIdentifier : CardObjectIdentifierType
File Identifier - gemSpec_COS 8.1.1 #N006.700, N006.900
-
FileIdentifier initialization error type
See moreDeclaration
Swift
public enum Error : Swift.Error, Equatable
-
The actual value representation for the FileIdentifier
Declaration
Swift
public let rawValue: Data
-
Undocumented
Declaration
Swift
public init(_ data: Data) throws
-
Undocumented
Declaration
Swift
public init(hex text: String) throws
-
Sanity check for file identifier
See also
gemSpec_COS 8.1.1 (#N006.700, N006.900)
Declaration
Swift
public static func isValid(_ value: Data) -> Result<Data, Swift.Error>
Parameters
value
the byte buffer that should make up the FID
Return Value
Result success with true when the value could represent a FID
-
Declaration
Swift
public var debugDescription: String { get }
-
Declaration
Swift
public var description: String { get }
-
Grapheme for AID is String
Declaration
Swift
public typealias ExtendedGraphemeClusterLiteralType = StringLiteralType
-
Unicode scalar for AID is String
Declaration
Swift
public typealias UnicodeScalarLiteralType = String
-
Initialize FileIdentifier from String
Declaration
Swift
public init(stringLiteral value: StringLiteralType)
Parameters
value
String value in the range of 0100…feff
-
Initialize FileIdentifier from String
Declaration
Swift
public init(extendedGraphemeClusterLiteral value: ExtendedGraphemeClusterLiteralType)
Parameters
value
String value in the range of 0100…feff
-
Initialize FileIdentifier from String
Declaration
Swift
public init(unicodeScalarLiteral value: UnicodeScalarLiteralType)
Parameters
value
String value in the range of 0100…feff