Fixed comment about byte packing
Oops. Write whole buffer, not half!
Merge pull request #1 from cbeighley/master

Write whole buffer, not half of buffer.