Hotfix: ExpandingBuffer.toByteArray omits last bytes if offset is not zero
Merge pull request #74 from VasilyKolpakov/hotfix/expanding_array_bug

Hotfix: ExpandingBuffer.toByteArray omits last bytes if offset is not ze...