fix readString length. add readBytes