Parse TLV raw #389
Unanswered
khanhdt2001
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I want to parse this TLV string into a struct with the help of composite field
for example TLV:
"C104ABCDD208112233445A101234567890ABCDEF"
explain:
Tag: 2 characters.
Length: 2 characters.
Value: A variable-length string.
Tag: C1 Length: 04 Value: "ABCD"
Tag: D2 Length: 08 Value: "11223344"
Tag: 5A Length: 10 Value: "1234567890ABCDEF"
Beta Was this translation helpful? Give feedback.
All reactions