Hi,
This could sound like a stupid question but can anyone tell me how to convert a CStyle String (Null term Byte Ptr) into a BMX string. Surely there is a more efficient way then parsing every char until ~0 (null term) is found. If there was a way of quickly finding the null char then a mem copy could put it directly into a BMX string of the same length.
This sounds so neccesary that it surely has been solved.
Sorry if this has been posted before, im aware that that would be irritating.
Thanks.
This could sound like a stupid question but can anyone tell me how to convert a CStyle String (Null term Byte Ptr) into a BMX string. Surely there is a more efficient way then parsing every char until ~0 (null term) is found. If there was a way of quickly finding the null char then a mem copy could put it directly into a BMX string of the same length.
This sounds so neccesary that it surely has been solved.
Sorry if this has been posted before, im aware that that would be irritating.
Thanks.