Samraksh eMote .NOW
Read(Byte[],Int32,Int32) Method



Array to receive data read
Offset from start of DataStore allocation to read from, and not an offset from start of data array.
Count of data to be read
Read a byte array from DataStore, specifying the amount to read and the offset from start of allocation.
Syntax
'Declaration
 
Public Overloads Function Read( _
   ByVal data() As Byte, _
   ByVal offset As Integer, _
   ByVal numData As Integer _
) As DataStoreReturnStatus
'Usage
 
Dim instance As DataReference
Dim data() As Byte
Dim offset As Integer
Dim numData As Integer
Dim value As DataStoreReturnStatus
 
value = instance.Read(data, offset, numData)

Parameters

data
Array to receive data read
offset
Offset from start of DataStore allocation to read from, and not an offset from start of data array.
numData
Count of data to be read

Return Value

Success / failure status
Exceptions
ExceptionDescription
DataStore ExceptionMethod invocation has an invalid argument
Requirements

Target Platforms: eMote .NOW

See Also

Reference

DataReference Class
DataReference Members
Overload List

Send Feedback