code: function trimNull(value) {
    if (value.charCodeAt(value.length - 1) === 0) {
      return value.substring(0, value.length - 1);
    }
    return value;
  }
docs: Removes null terminate value
  @ignore
  @param {string} value - String to trim
  @return {string} - Trimmed string