Declaration
public override int Read(
byte[] buffer,
int offset,
int count
)Summary
Reads some text or data into the specified buffer. The behaviour depends on the
DynamicContentStream.Buffered property.
The bytes returned respresent the text or data returned by the underlying enumerator. In the case of UTF-8-encoded
text, DynamicContentStream may potentially return incomplete multi-byte sequences; however, all output will be
valid UTF-8 when concatenated.
Parameters
| byte[] | buffer | The buffer to copy the data into. |
| int | offset | The offset at which to start copying into buffer. |
| int | count | The maximum number of bytes to copy. The stream may return less than this. |
Returns
The number of bytes actually copied into the buffer.