---
title: TKCompactTLVRecord
framework: cryptotokenkit
role: symbol
role_heading: Class
path: cryptotokenkit/tkcompacttlvrecord
---

# TKCompactTLVRecord

An object that implements encoding using Compact-TLV encoding according to ISO 7816-4.

## Declaration

```swift
class TKCompactTLVRecord
```

## Topics

### Creating TLV Records

- [init(tag:value:)](cryptotokenkit/tkcompacttlvrecord/init(tag:value:).md)

## Relationships

### Inherits From

- [TKTLVRecord](cryptotokenkit/tktlvrecord.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)

## See Also

### Working with Tag-Length-Value Records

- [TKTLVRecord](cryptotokenkit/tktlvrecord.md)
- [TKBERTLVRecord](cryptotokenkit/tkbertlvrecord.md)
- [TKSimpleTLVRecord](cryptotokenkit/tksimpletlvrecord.md)
