ImageGear .NET v25.0 - Updated
Read Method (ImGearWebStream)




ImageGear.Core Assembly > ImageGear.Formats Namespace > ImGearWebStream Class : Read Method
When this method returns, contains the specified byte array with the values between offset and (offset + count - 1) replaced by the bytes read from the current source.
The byte offset in array at which to begin reading.
The maximum number of bytes to read.
When overridden in a derived class, reads a sequence of bytes from the current stream and advances the position within the stream by the number of bytes read.
Syntax
'Declaration
 
Public Overrides Function Read( _
   ByVal buffer() As Byte, _
   ByVal offset As Integer, _
   ByVal count As Integer _
) As Integer
'Usage
 
Dim instance As ImGearWebStream
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[] buffer,
   int offset,
   int count
)
public: int Read( 
   byte[]* buffer,
   int offset,
   int count
) override 
public:
int Read( 
   array<byte>^ buffer,
   int offset,
   int count
) override 

Parameters

buffer
When this method returns, contains the specified byte array 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 to begin reading.
count
The maximum number of bytes to read.

Return Value

Integer value.
See Also

Reference

ImGearWebStream Class
ImGearWebStream Members