uctypes how to struc
Posted: Wed Oct 07, 2020 11:13 am
first : i found 2 versions for define an struct
offset | uctype or uctype | offset
Which version is the right one ?
2: variable len of an array - how ?
background : i want to handel a Vertex Message - first come 4 Byte for len message then comes the data as (json/text)
vertex = { "size" : 0 | uctypes.UINT32, "json" : 4 | uctypes.ARRAY , ???? | uctypes.UINT8 )
or must the have the struc a fix length ? then i must go an other way
offset | uctype or uctype | offset
Which version is the right one ?
2: variable len of an array - how ?
background : i want to handel a Vertex Message - first come 4 Byte for len message then comes the data as (json/text)
vertex = { "size" : 0 | uctypes.UINT32, "json" : 4 | uctypes.ARRAY , ???? | uctypes.UINT8 )
or must the have the struc a fix length ? then i must go an other way
