* method <b>must </b> support decoding <code>null</code>. In such cases,
* the String "" will be returned.
*/
public String decodeString(byte[] b) {
if (charset == null) {
throw new SMPPRuntimeException(BAD_IMPLEMENTATION);
}
try {
if (b != null) {
return new String(b, charset);
}