initiazing this.eol and push string of [ this.eol ] incase  zero buffer size.
Merge pull request #27 from trangtungn/master

Initiaze this.eol and push string [ this.eol ] incase of zero buffer length