jsdoc
Buffer encoding
update test for last commit