Fix buffer length
Only read bytes needed
0.1.1