Fixed bug when read some bytes but not the whole length.
3.0.1