[fpc-pascal] Byte array manipulation

Wimpie Nortje wimpienortje at gmail.com
Sun Aug 16 19:35:14 CEST 2009


Hi all,

I have a lot of byte arrays which contains mostly text but also #0. I am 
looking for functions to manipulate these arrays.

The stuff in strutils are mainly what I need but they operate on strings 
which is not usable to me due to the #0. Are there any such functions in 
FPC?

And while I am onto strings...does anyone know of a quick and easy way 
to convert strings to a byte array. Much like aPchar := PChar(aString)?

Thanks
Wimpie



More information about the fpc-pascal mailing list