Strings (was: Re: are Mnesia tables immutable?)

Vlad Dumitrescu vladdu55@REDACTED
Wed Jun 28 12:34:52 CEST 2006


hi,

I don't have a strong opinion about this encoding stuff (more that it
would be good to have a working solution), but there is one thing that
I'm not comfortable with:

> bytes 1-2: number of bytes (16 bits)

(this applies to today's STRING_EXT format too). There are cases when
one has to handle strings longer than 65536 chars, and if sending to
external programs, those have to be able to handle both STRING_EXT and
LIST_EXT, which is a little unwieldy.

regards,
Vlad



More information about the erlang-questions mailing list