ComponentOne Bitmap for WPF
ReadRange<T>(Int32) Method

C1.WPF.DX.4 Assembly > C1.Util.DX Namespace > DataStream Class > ReadRange Method : ReadRange<T>(Int32) Method
The type of the values to be read from the stream.
Reads an array of values from the current stream, and advances the current position within this stream by the number of bytes written.
Syntax
'Declaration
 
Public Overloads Function ReadRange(Of T As {New, Struct})( _
   ByVal count As System.Integer _
) As T()
public T[] ReadRange<T>( 
   System.int count
)
where T: new(), struct

Parameters

count

Type Parameters

T
The type of the values to be read from the stream.

Return Value

An array of values that was read from the current stream.
Remarks
In order to provide faster read/write, this operation doesn't check stream bound. A client must carefully not read/write above the size of this datastream.
See Also

Reference

DataStream Class
DataStream Members
Overload List