text: "use strict";
  
  Object.defineProperty(exports, "__esModule", {
    value: true
  });
  exports.hgetallBuffer = hgetallBuffer;
  
  var _hgetall = require("./hgetall");
  
  function hgetallBuffer(key) {
    const val = _hgetall.hgetall.apply(this, [key]);
  
    Object.keys(val).forEach(keyInObject => {
      val[keyInObject] = Buffer.from(val[keyInObject]);
    });
    return val;
  }