{"action":"created","issue":{"url":"https://api.github.com/repos/wdavidw/node-csv-parse/issues/57","labels_url":"https://api.github.com/repos/wdavidw/node-csv-parse/issues/57/labels{/name}","comments_url":"https://api.github.com/repos/wdavidw/node-csv-parse/issues/57/comments","events_url":"https://api.github.com/repos/wdavidw/node-csv-parse/issues/57/events","html_url":"https://github.com/wdavidw/node-csv-parse/issues/57","id":101637212,"number":57,"title":"how to parse a buffer?","user":{"login":"mderazon","id":717076,"avatar_url":"https://avatars.githubusercontent.com/u/717076?v=3","gravatar_id":"","url":"https://api.github.com/users/mderazon","html_url":"https://github.com/mderazon","followers_url":"https://api.github.com/users/mderazon/followers","following_url":"https://api.github.com/users/mderazon/following{/other_user}","gists_url":"https://api.github.com/users/mderazon/gists{/gist_id}","starred_url":"https://api.github.com/users/mderazon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mderazon/subscriptions","organizations_url":"https://api.github.com/users/mderazon/orgs","repos_url":"https://api.github.com/users/mderazon/repos","events_url":"https://api.github.com/users/mderazon/events{/privacy}","received_events_url":"https://api.github.com/users/mderazon/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-08-18T11:44:09Z","updated_at":"2015-08-18T20:40:46Z","closed_at":null,"body":"Trying to parse a Buffer into csv with auto columns detection\r\n\r\n``` js\r\ncsv.parse(req.file.buffer, { columns: true }, function (err, data) {\r\n // outputs `Error: Invalid data argument`\r\n})\r\n```\r\n\r\nIs there a way to parse Buffers without transforming them to strings first ?"},"comment":{"url":"https://api.github.com/repos/wdavidw/node-csv-parse/issues/comments/132344157","html_url":"https://github.com/wdavidw/node-csv-parse/issues/57#issuecomment-132344157","issue_url":"https://api.github.com/repos/wdavidw/node-csv-parse/issues/57","id":132344157,"user":{"login":"wdavidw","id":46896,"avatar_url":"https://avatars.githubusercontent.com/u/46896?v=3","gravatar_id":"","url":"https://api.github.com/users/wdavidw","html_url":"https://github.com/wdavidw","followers_url":"https://api.github.com/users/wdavidw/followers","following_url":"https://api.github.com/users/wdavidw/following{/other_user}","gists_url":"https://api.github.com/users/wdavidw/gists{/gist_id}","starred_url":"https://api.github.com/users/wdavidw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wdavidw/subscriptions","organizations_url":"https://api.github.com/users/wdavidw/orgs","repos_url":"https://api.github.com/users/wdavidw/repos","events_url":"https://api.github.com/users/wdavidw/events{/privacy}","received_events_url":"https://api.github.com/users/wdavidw/received_events","type":"User","site_admin":false},"created_at":"2015-08-18T20:40:46Z","updated_at":"2015-08-18T20:40:46Z","body":"you're right"}}