PayloadStream.Read(Byte[], Int32, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
This function is called by StreamReader when processing streams. It will appear to have no references, but is in fact required to be implemented by StreamReader, just like Length.
public override int Read (byte[] buffer, int offset, int count);
override this.Read : byte[] * int * int -> int
Public Overrides Function Read (buffer As Byte(), offset As Integer, count As Integer) As Integer
Parameters
- buffer
- Byte[]
The buffer to read from.
- offset
- Int32
The position to begin reading from.
- count
- Int32
The amount to attempt to read.
Returns
The number of chunks remaining unread in the buffer.