Read up to |size| bytes into |bytes| and return the number of bytes actually read.
See Implementation
Read up to |size| bytes into |bytes| and return the number of bytes actually read.