Merge "Change the parameter type of offset in read"