code: function serializerField(message, buffer, parameter, type, length, position, cb) {
  
      position.value -= length;
  
      if (message.payload[parameter] === undefined) {
          cb(new Error(`[Serializer] MID[${message.mid}] parameter [${parameter}] not exist`));
          return false;
      }
  
      switch (type) {
  
          case "string":
              buffer.write(padRight(message.payload[parameter], length, 10, " "), position.value, encoding);
              break;
  
          case "rawString":
              buffer.write(padRight(message.payload[parameter], length, 10, " "), position.value, encoding);
              break;
  
          case "number":
  
              if (isNaN(message.payload[parameter])) {
                  cb(new Error(`[Serializer] MID[${message.mid}] - type invalid isNaN - parameter: [${parameter}] value: [${message.payload[parameter]}] `));
                  return false;
              }
  
              buffer.write(padLeft(message.payload[parameter], length), position.value, encoding);
              break;
  
          default:
              cb(new Error(`[Serializer] MID[${message.mid}] - type is not defined`));
              return false;
      }
  
      return true;
  }
docs: @description This method serializes a field in [parameter] where,
  the values are read from [message.payload[parameter]], check type with [type] and
  add in [buffer] in position [position.value] with length [length].
  
  The [cb] function is called in cases of an error, sending the error as parameter.
  The return of this function is a boolean, true: the process without errors or false: the process with an error.
  
  @param {object} message
  @param {buffer} buffer
  @param {string} parameter
  @param {string} type
  @param {number} length
  @param {object} position
  @param {Function} cb
  @returns {boolean}