View Single Post
Old July 22nd, 2016   #6
hamish
Member
 
hamish's Avatar
 
Join Date: Apr 2009
Location: Dartmoor, Devon, England
Posts: 56
Send a message via Skype™ to hamish
Default Corresponding to the Parameter Data Length

Section 10.1 states:
The Parameter Data Length shall accordingly be set to match the actual size of the text string being sent.

The statement covering what shall be done in the case that a NULL is encountered, as I often see, does not qualify the use of NULL characters as appropriate.

In my responder implimentations, I use null values to determine stored string length when shorter than 32, however, there is no need to return more characters that are available before the first NULL.
__________________
______________________________________________
Hamish Dumbreck
hamish is offline   Reply With Quote