Dynamically appending to byte array to avoid index out of bounds error.
Forgot to clear buffer
Update VERSION number
Merge pull request #288 from jaredbischof/master

Dynamically appending to byte array to avoid index out of bounds error.