A few times in my career I've found myself writing decoders for responses from IoT products or weird apis that insted of using JSON or XML as a response, they reply with something like HC010410290203123, and they provide certain documentation to explain that...
HC 01 04 1029 02 03 123
HC = This segment's name
01 = field name (explained in documentation, example: 'User id')
04 = field length (in this case, 4 characters)
1029 = field value (in this case, user id is 1029)
02 = field name (explained in documentation, example: 'User code')
03 = field length (in this case, 3 characters)
123 = field value (in this case, user code is 123)
...
And so on, and so on. I've encountered this kind of encoding about 4 to 5 times in my career and now that I got a new assignment that works just like this, I've been wondering, does this have a name?