title: Read buffer object in node.js
body: <p>I'm trying to get html page through this node module called <a href="https://www.npmjs.org/package/wreck" rel="noreferrer">Wreck</a></p>
  
  <p>It should be very easy to get data but I'm unable to get them</p>
  
  <pre><code>'use strict';
  
  var Wreck = require('wreck');
  
  var url = 'http://www.google.it';
  
  var callback = function(err, response, payload){
    Wreck.read(response, null, function(err, body){
        //here print out the html page
    });
  };
  
  Wreck.get(url, callback);
  </code></pre>
  
  <p>Here above a simple script just a copy from the readme of the developer. according to the documentation <code>body</code> should return a buffer object but how can I read inside a body object? I have read to use toJSON or toString() but I don't get any result</p>