This page hosts a formal specification of AUTOSAR SOME/IP container using Kaitai Struct. This specification can be automatically translated into a variety of programming languages to get a parsing library.
digraph {
rankdir=LR;
node [shape=plaintext];
subgraph cluster__some_ip_container {
label="SomeIpContainer";
graph[style=dotted];
some_ip_container__seq [label=<<TABLE BORDER="0" CELLBORDER="1" CELLSPACING="0">
<TR><TD BGCOLOR="#E0FFE0">pos</TD><TD BGCOLOR="#E0FFE0">size</TD><TD BGCOLOR="#E0FFE0">type</TD><TD BGCOLOR="#E0FFE0">id</TD></TR>
<TR><TD PORT="some_ip_packages_pos">0</TD><TD PORT="some_ip_packages_size">...</TD><TD>SomeIp</TD><TD PORT="some_ip_packages_type">some_ip_packages</TD></TR>
<TR><TD COLSPAN="4" PORT="some_ip_packages__repeat">repeat to end of stream</TD></TR>
</TABLE>>];
}
some_ip_container__seq:some_ip_packages_type -> some_ip__seq [style=bold];
}