I assume that you are referring to this method, which is overridden from the Stream base class.
The offset is the location in the array argument to put the bytes not the offset from the start of the FileStream . The array argument is of type byte[] , which cannot contain more than int.MaxValue elements.
mike z
source share