Reads data from the Stream and copies it into the provided buffer.
Public Overrides Function Read( _
ByVal () As Byte, _
ByVal As Integer, _
ByVal As Integer _
) As Integer
Dim instance As CompressingStream
Dim buffer() As Byte
Dim offset As Integer
Dim count As Integer
Dim value As Integer
value = instance.Read(buffer, offset, count)
public override int Read(
byte[] ,
int ,
int
)
public: int Read(
byte[]* ,
int ,
int
) override
public:
int Read(
array<byte>^ ,
int ,
int
) override
Parameters
- buffer
- The storage location for the received data.
- offset
- The zero-based position in the buffer at which to store the received data.
- count
- The maximum number of bytes to read.
Return Value
The total number of bytes read into the buffer. A return value of 0 indicates no data is left to read.