Fix: ExpandingBuffer.toByteArray omits last bytes if offset is not zero
Merge pull request #75 from VasilyKolpakov/fix/expanding_array_bug

Fix: ExpandingBuffer.toByteArray omits last bytes if offset is not zero