You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A lot of Network protocols require a checksum, but who wants to do that manually. There should/could be an option to specify which byte (or maybe line? Some kind of marker) to insert/replace a checksum of a specific kind.
The text was updated successfully, but these errors were encountered:
Do a first pass looking for the notation for inserting the checksum/length there. Something like @16:checksum(span) where span is similar to $start(span) <data> $end(span). During the second pass parse the tree you now have and try not to recur to hard?
I'm still worried that this is some kind of scope creep. Right now I'm of the mind that it's a good idea, still, we want hext to be useful and this'd be useful. I'm not big on the notation I chose for checksum up there, but I like the idea. A span and then a marker to say "put the checksum here and make it N bytes". The number of bytes is probably specified by the algorithm, but I'd very much like it to be explicit/
Maybe a notation of {checksum <algorith> for <span>} would be good. That's the marker and sits where the checksum should go. I like the span notation, but maybe change it to ~start <name> and ~end <name>. They'd have to stand on their own line, like this.
Not thrilled with the curly braces there, so maybe we'll have to think about that more. Very much like the start/end markers though. It also doesn't say how many bytes it's inserting.
A lot of Network protocols require a checksum, but who wants to do that manually. There should/could be an option to specify which byte (or maybe line? Some kind of marker) to insert/replace a checksum of a specific kind.
The text was updated successfully, but these errors were encountered: