pub fn nested_attribute_array(data: &[u8]) -> Vec<Vec<Attribute>>Expand description
Parsing an array of nested attributes
Each chunk of attributes has a size and an index, the size is the size of the chunk including the header
---------------------------------------------------------------
| size | index | attributes ... | size | index | attributes ...
---------------------------------------------------------------
u16 u16 u8 * (size - 4)