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:
2022-05-07 18:35:06 -06:00
parent 287ba32ea7
commit f2cec4c89e
6 changed files with 146 additions and 17 deletions
-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