LEADTOOLS (Leadtools assembly)

Read(IBuffer,Int32,UInt32) Method

Show in webframe







The buffer to write the data into.
Index into buffer where reading begins.
The maximum number of bytes to read.
Reads a specified number of bytes from the LeadBufferStream object and writes the data into the specified WinRT IBuffer.
Syntax
public int Read( 
   IBuffer buffer,
   int bufferIndex,
   uint count
)
'Declaration
 
Public Overloads Function Read( _
   ByVal buffer As IBuffer, _
   ByVal bufferIndex As Integer, _
   ByVal count As UInteger _
) As Integer
'Usage
 
Dim instance As LeadBufferStream
Dim buffer As IBuffer
Dim bufferIndex As Integer
Dim count As UInteger
Dim value As Integer
 
value = instance.Read(buffer, bufferIndex, count)
public int Read( 
   IBuffer buffer,
   int bufferIndex,
   uint count
)

            

            
 function Leadtools.LeadBufferStream.Read(IBuffer,Int32,UInt32)( 
   buffer ,
   bufferIndex ,
   count 
)
public:
int Read( 
   IBuffer^ buffer,
   int bufferIndex,
   uint count
) 

Parameters

buffer
The buffer to write the data into.
bufferIndex
Index into buffer where reading begins.
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

See Also

Reference

LeadBufferStream Class
LeadBufferStream Members
Overload List

 

 


Products | Support | Contact Us | Copyright Notices

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