Bug 1087195: Add reading and writing of \0-terminated memory in PDUs
Bug 1087195: Add reading and writing of \0-terminated memory in PDUs

Some strings in the HAL protocol are \0 terminated. This patch adds
format-string codes for reading and writing until \0 or the end of
the buffer has been reached.

andyvand/platform_system_bluetoothd,hobinjk/platform_system_bluetoothd,mozilla-b2g/platform_system_bluetoothd,tdz/platform_system_bluetoothd,hobinjk/system-bluetoothd,BruceSunMozilla/platform_system_bluetoothd