Read the proper number of bytes