firepear / petrel

It's like SQLite, but for networking
MIT License
20 stars 1 forks source link

Do away with the EOM marker #30

Closed firepear closed 8 years ago

firepear commented 9 years ago

It's a huge hassle. Each message should, instead, be preceeded by its length, as represented by encoding/binary. This will be a 64-bit (8 byte) value, except on 32-bit systems. I don't know anyone still using 32-bit systems though.

firepear commented 8 years ago

Done, but the run-length is a 4-byte (32 bit) value always.

Will close issue when all tests are passing again.

firepear commented 8 years ago

All tests passing.