I updated the latest release with many bug fixes for JString and JStringData.
BTW, new specifications:
JStringData is hard on bufferSize, JStringData( "Hello", 2 ) == "He"
JString is soft on bufferSize, JString( "Hello", 2 ) == "Hello"
So, users of JString have the benefit of a soft approach, but internally it's hard for faster responds and for at() functionnality.
New string functionnality will be added, soon.
I will also build a byteArray similar to JString for apps like TFTP that deals with strings with many '\0'.
e.g.
[ 2 | n+1 | n+1 | n+1 | ... ] [ \0 \1 | Filename \0 | Mode \0 | ext \0 | ... ]
Fred.
Log in to post a comment.
I updated the latest release with many bug fixes
for JString and JStringData.
BTW, new specifications:
JStringData is hard on bufferSize,
JStringData( "Hello", 2 ) == "He"
JString is soft on bufferSize,
JString( "Hello", 2 ) == "Hello"
So, users of JString have the benefit
of a soft approach, but internally
it's hard for faster responds
and for at() functionnality.
New string functionnality will be added,
soon.
I will also build a byteArray similar to
JString for apps like TFTP that deals
with strings with many '\0'.
e.g.
[ 2 | n+1 | n+1 | n+1 | ... ]
[ \0 \1 | Filename \0 | Mode \0 | ext \0 | ... ]
Fred.