-
Notifications
You must be signed in to change notification settings - Fork 879
Open
Labels
Description
Name = PNGTests
NumCases = 1
[Case.0]
State = TestState_Enabled
Outcome = Outcome_Passed
Size = 138 # Num hexadecimal digits, divide by 2 to get the number of bytes.
Data = 0x[89504E470D0A1A0A0000000D4948445200000001000000010001000000376EF9240000000A49444154000078016360000000020001737501180000000049454E44AE426082]
No whitespace, commas, or anything except hexadecimal digits are allowed after 0x[ and before the closing ].
It makes parsing binary data stored in a toml file MUCH easier and faster to process.
I don’t see why binary and octal couldn’t have the same syntax. 0b[ and 0o[ respectively, but I have no need for such syntax.