LEADTOOLS (Leadtools assembly)
LEAD Technologies, Inc

Read Method (ILeadStream)






The buffer to write the data into.
The maximum number of bytes to read.
Reads a specified number of bytes from the ILeadStream object and writes the data into the specified buffer. .NET support WinRT support
Syntax
uint Read( 
   IntPtr buffer,
   uint count
)
'Declaration
 
Function Read( _
   ByVal buffer As IntPtr, _
   ByVal count As UInteger _
) As UInteger
'Usage
 
Dim instance As ILeadStream
Dim buffer As IntPtr
Dim count As UInteger
Dim value As UInteger
 
value = instance.Read(buffer, count)
uint Read( 
   IntPtr buffer,
   uint count
)
function Leadtools.ILeadStream.Read( 
   buffer ,
   count 
)
uint Read( 
   IntPtr buffer,
   uint count
) 

Parameters

buffer
The buffer to write the data into.
count
The maximum number of bytes to read.

Return Value

The total number of bytes read into the buffer. The result value can be less than the number of bytes requested if the number of bytes currently available is less than the requested number, or it can be 0 (zero) if the end of the stream has been reached
Remarks

Use the CanRead property to determine whether the current instance supports reading.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

ILeadStream Interface
ILeadStream Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.