vbakke / trytes

Converting between trytes and bytes
6 stars 1 forks source link

Using a BOM (TOM?) to communicate endianness #10

Open todofixthis opened 6 years ago

todofixthis commented 6 years ago

How do we distinguish between little-endian and big-endian trits?

For example, consider the following sequence of trits:

00++000++--+-bal3

We have the same problem with bits, of course, which is (for example) why some UTFs use a BOM.

Should decoded trits have a similar feature (Trit Order Mark — TOM)?