code: function processParser(message, buffer, parameter, parameterType, parameterLength, position, cb) {
  
      let length = parameterLength;
      parameterLength = position.value + parameterLength;
  
      switch (parameterType) {
          case "string":
              message.payload[parameter] = buffer.toString(encoding, position.value, parameterLength).trim();
              break;
  
          case "rawString":
              message.payload[parameter] = buffer.toString(encoding, position.value, parameterLength);
              if (message.payload[parameter].length !== length) {
                  cb(new Error(`invalid value, mid: ${message.mid}, parameter: ${parameter}, payload: ${message.payload}`));
                  return false;
              }
              break;
  
          case "number":
              message.payload[parameter] = Number(buffer.toString(encoding, position.value, parameterLength));
              if (isNaN(message.payload[parameter])) {
                  cb(new Error(`invalid value, mid: ${message.mid}, parameter: ${parameter}, payload: ${message.payload}`));
                  return false;
              }
              break;
  
          default:
              cb(new Error(`invalid parameterType`));
              return false;
  
      }
  
      position.value = parameterLength;
  
      return true;
  }
docs: @description This method perform the extraction of [parameter], the value extracted comes from [buffer] from
  the position [position.value] with length [parameterlength] and being converted to [parameterType], this
  value is add in [message.payload[parameter]].
  
  The [cb] function is called in cases of error, sending the error as parameter.
  The return of this function is boolean, true: the process without errors or false: the process with an error.
  
  @param {object} message Object in use for update
  @param {buffer} buffer Buffer with content for extracting information
  @param {string} parameter Name of parameter extracted
  @param {string} parameterType Type of information extracted "string" | "rawString" | "number"
  @param {number} parameterLength Size of information extracted
  @param {object} position Position on buffer this information {value: position}
  @param {Function} cb
  @returns {boolean} status process