パラメータ
- buffer
- When this method returns, contains the specified buffer with the values between offset and (offset + count - 1) replaced by the bytes read from the current source.
- offset
- The byte offset in array at which the read bytes will be placed.
- count
- The maximum number of bytes to read.
戻り値の型
The total number of bytes read into the buffer. This might be less than the number of bytes requested if that number of bytes are not currently available, or zero if the end of the stream is reached.