Fixed buffers that didn't use length when it was available
Merge pull request #1 from xstevens/master

Fixed buffers that didn't use length when it was available