Added file input + stdin support

+ Files/stdin input can be binary or ascii
+ Handles piping from other programs
+ Misc test fixes
+ Updated readme
+ clippy + fmt
This commit is contained in:
joeyahines committed 2022-05-07 18:35:06 -06:00
1 parent 287ba32ea7
commit f2cec4c89e
6 files changed
+146 -17

No files matched your search

-1
View File
@@ -43,7 +43,6 @@ field_type = {type = "Float", endianness = "BigEndian"}
# string field. Printed as a byte array
[[formats.fields]]
name = "string field"
print_type = {print = "ByteArray"}
field_type = {type = "String", endianness = "BigEndian", max_len = 55}
# byte field