0

I have a data class called Tags that contains a key and value (both Strings). I am required to generate a TLV with these Tag entries but none of the libraries I have used have worked.

Primarily:

An example of a Tag we have is:

Tags("df79", "353533")

Does anyone know how to create a TLV with string data in this format? Do I misunderstand how TLV works? All the libraries require Int or ByteArray properties.

Olitron
  • 43
  • 1
  • 8
  • 1
    I don't think there is any kind of standard for creating TLV - this is just a concept and libraries can implement it differently. What is your expected output for above input? – broot Sep 12 '22 at 19:04
  • @broot it is supposed to be 'DF7903353533' – Olitron Sep 13 '22 at 14:33

0 Answers0