diff options
-rw-r--r-- | ADSBDecoder/Decoder.swift | 8 | ||||
-rw-r--r-- | ADSBDecoder/Query.swift | 8 | ||||
-rw-r--r-- | Test/main.swift | 17 |
3 files changed, 33 insertions, 0 deletions
diff --git a/ADSBDecoder/Decoder.swift b/ADSBDecoder/Decoder.swift new file mode 100644 index 0000000..425797a --- /dev/null +++ b/ADSBDecoder/Decoder.swift @@ -0,0 +1,8 @@ +// +// Decoder.swift +// ADSBDecoder +// +// Created by Jacky Jack on 28/05/2024. +// + +import Foundation diff --git a/ADSBDecoder/Query.swift b/ADSBDecoder/Query.swift new file mode 100644 index 0000000..4906221 --- /dev/null +++ b/ADSBDecoder/Query.swift @@ -0,0 +1,8 @@ +// +// Query.swift +// ADSBDecoder +// +// Created by Jacky Jack on 31/05/2024. +// + +import Foundation diff --git a/Test/main.swift b/Test/main.swift new file mode 100644 index 0000000..8a8e001 --- /dev/null +++ b/Test/main.swift @@ -0,0 +1,17 @@ +// +// main.swift +// Test +// +// Created by Jacky Jack on 28/05/2024. +// + +import Foundation + +print("Decoder test") + +let decoder = Decoder("8d3c664c580d014ae16024650e6c") +if decoder.DataFormat == 17 { + if let d17 = decoder.getDataFormat17() { + print(d17) + } +} |