Re: boolean sequence
- Posted by Tone Škoda <tskoda at email.si> Sep 08, 2004
- 433 views
Juergen Luethje wrote: > Also, since the whole thing is 1-based now, 0 could beused instead of -1, > in order to indicate, that find_byte_... didn't find the given value. > What do you think? i agree, same as eu's find (). > > if you are planning to release a lib out of these functions, > > Maybe... > I'll only do so, if I find some nice, self-explanatory function names, > and when I have the time to write a sufficient documentation. i agreee that good function names are important, especially for a library. > Maybe I should add pack/unpack functions? Then the user can "unpack" a > byte array to a normal sequence, use any existing function that (s)he > wants, and then "re-pack" the normal sequence, to get again a byte > array. yes, pack and unpack functions will be also needed. i also thought of that later. your byte code from other post looks good. thanks.