@zens @cancel is your issue that it's not resilient to data corruption? In the wider system implementation we have a checksum. Do you think would be enough?
https://git.sr.ht/~rabbits/uxn-utils/tree/main/item/cli/checksum/checksum.tal
Top-level
@zens @cancel is your issue that it's not resilient to data corruption? In the wider system implementation we have a checksum. Do you think would be enough? 1 comment
|
@neauoire @cancel it’s more that those leading bits remind me of the leading bits of utf-8, why utf-8 was designed that way- and that if this were following the utf-8 pattern, cpy2 would have 110 as the leading bits for both of its bytes.
I am not saying you should do that, but have a look at why utf-8 did it that way. (from memory, line transmission corruption can either take out a few characters as long as sync is maintained… or the entire rest of your file if it is not)