On Thu, 22 Oct 2009, Mindaugas Kavaliauskas wrote: Hi,
> >>4. pad only strings shorter then 8 bytes. For longer strings encode > >> encode all full 64bit blocks then encode last 64bits (decode in > >> reveresed order) > >But the 4th is the most interesting :) I've not understood your > >idea, can you describe it it more detail? > Ok, I've understood. You mean encode last 64bits partly containing > ALREADY ENCODED bytes of previous block. Exactly. Please also note that such situation can be detected during decoding data without attaching any extra information to destination string so only strings shorter then 8 bytes cannot be encoded without padding. To the above list I should add: 5. like for but return NIL or "" to indicate error or generate RTE I hope that now the whole picture is more clean so I would like to ask you about your final preferences about raw mode. best regards, Przemek _______________________________________________ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour