Added back in data field

This commit is contained in:
joeyahines committed 2024-04-29 20:25:32 -06:00
1 parent 33aec25566
commit a09cd383e9
1 file changed
+6
+6
View File
@@ -48,3 +48,9 @@ field_type = {type = "UInt", bit_width = 14, endianness = "BigEndian"}
[[formats.fields]]
name = "Data Length"
field_type = {type = "UInt", bit_width = 16, endianness = "BigEndian"}
[[formats.fields]]
name = "Data"
# Allow payloads up to the max size that can be specfied in "Data Length"
field_type = {type = "Bytes", max_len = 65535, endianness = "BigEndian"}