Samraksh eMote .NOW
ReadRaw(UInt32,Byte[],UInt32,UInt32,Byte) Method
Collapse All Expand All Language Filter: All Language Filter: Multiple Language Filter: Visual Basic Language Filter: Visual Basic (Declaration) Language Filter: Visual Basic (Usage) Language Filter: C# Language Filter: C++/CLI
Visual Basic (Declaration)
Visual Basic (Usage)
C#
C++/CLI

Samraksh.eMote.NonVolatileMemory Namespace > DataStore Class > ReadRaw Method : ReadRaw(UInt32,Byte[],UInt32,UInt32,Byte) Method

Address to read from
Byte array to be filled up with data from DataStore
Offset from start of DataStore allocationto read.
Number of bytes to be read
Data type of the data to be read
Read data array from DataStore starting from specified address.
Syntax

- Visual Basic
- C#
- C++/CLI

    'Declaration

    Public Overloads Function ReadRaw( _
       ByVal address As UInteger, _
       ByVal data() As Byte, _
       ByVal offset As UInteger, _
       ByVal numBytes As UInteger, _
       ByVal dataType As Byte _
    ) As Integer

    'Usage

    Dim instance As DataStore
    Dim address As UInteger
    Dim data() As Byte
    Dim offset As UInteger
    Dim numBytes As UInteger
    Dim dataType As Byte
    Dim value As Integer

    value = instance.ReadRaw(address, data, offset, numBytes, dataType)

    public int ReadRaw(
       uint address,
       byte[] data,
       uint offset,
       uint numBytes,
       byte dataType
    )

    public:
    int ReadRaw(
       uint address,
       array<byte>^ data,
       uint offset,
       uint numBytes,
       byte dataType
    )

#### Parameters

address
  Address to read from
data
  Byte array to be filled up with data from DataStore
offset
  Offset from start of DataStore allocationto read.
numBytes
  Number of bytes to be read
dataType
  Data type of the data to be read

#### Return Value

True if success
Requirements

Target Platforms: eMote .NOW

See Also

#### Reference

DataStore Class
DataStore Members
Overload List

Send Feedback