finished readByte, not tested