'Declaration Public Function Read( _ ByVal itemCount As Integer, _ ByVal itemSize As Integer _ ) As Byte()
'Usage Dim instance As ImGearPDFStream Dim itemCount As Integer Dim itemSize As Integer Dim value() As Byte value = instance.Read(itemCount, itemSize)
public: array<byte>^ Read( int itemCount, int itemSize )
Parameters
- itemCount
- Number of items to read. The amount of data read into the memory buffer will be
itemCount
multiplied byitemSize
, unless an EOF is encountered first.The relative values ofitemCount
anditemSize
really do not matter; the only thing that matters is their product. It is often convenient to setitemSize
to 1, so thatitemCount
is the number of bytes to read. - itemSize
- Number of bytes in an item in the stream.
Return Value
ImageGear integer array which contains stream data.