Hacker Read top | best | new | newcomments | leaders | about | bookmarklet login

You can fix this issue by using a variable width integer encoding for the size.


view as:

It might fix that particular issue, but you still have the same problem that NUL terminated strings have: it's not possible to cheaply create views/slices of a string using the same type.

Legal | privacy