text: "use strict";
  Object.defineProperty(exports, "__esModule", { value: true });
  function concatChunkToBuffer(chunk, buffer) {
      if (!Buffer.isBuffer(chunk)) {
          chunk = Buffer.from(chunk);
      }
      return buffer.concat(chunk);
  }
  exports.concatChunkToBuffer = concatChunkToBuffer;
  