FlatTagStructureParser

Flat Tag Structure Parser component.

Functions

Link copied to clipboard
abstract fun parse(bytes: ByteArray): Map<Short, ByteArray>

Parse bytes to a flat map of elements. Expected input value is in the following structure: ELEMENT_1_TAG, ELEMENT_1_LENGTH, ELEMENT_1_VALUE, ..., ELEMENT_N_TAG, ELEMENT_N_LENGTH, ELEMENT_N_VALUE