Added a string printer and updated README
+ Fixed a unit test as well
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user