Added a string printer and updated README

+ Fixed a unit test as well
This commit is contained in:
2024-04-28 15:33:19 -06:00
parent 3274386ccf
commit 333a92b729
5 changed files with 18 additions and 14 deletions
+1
View File
@@ -48,6 +48,7 @@ field_type = {type = "String", endianness = "BigEndian", max_len = 55}
# byte field
[[formats.fields]]
name = "bytes field"
print_type = {print = "String"}
field_type = {type = "Bytes", endianness = "BigEndian", max_len = 5}
# Example of layer formats