Reads the image data from the device.
public abstract int Read(
byte[] ,
int
)
'Declaration
Public MustOverride Function Read( _
ByVal () As Byte, _
ByVal As Integer _
) As Integer
'Usage
Dim instance As SaneDevice
Dim data() As Byte
Dim offset As Integer
Dim value As Integer
value = instance.Read(data, offset)
public abstract int read(byte[] data, int offset)
public:
abstract int Read(
array<byte>^ ,
int
)
Parameters
- data
- Data buffer to store the image data in.
- offset
- The data buffer offset.
Return Value
The number of bytes placed in the data buffer.