Use 0 instead of empty string to empty the buffer
Merge pull request #9 from IonicaBizau/master

Use 0 instead of empty string to empty the buffer