Samraksh eMote .NOW
WriteRaw(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 > WriteRaw Method : WriteRaw(UInt32,Byte[],UInt32,UInt32,Byte) Method

Address to write to
Data to be written to DataStore
Offset from start of DataStore allocationto write.
Count of bytes to be written
Data type to be written
Write data array to DataStore starting from specified address
Syntax

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

    'Declaration

    Public Overloads Function WriteRaw( _
       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.WriteRaw(address, data, offset, numBytes, dataType)

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

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

#### Parameters

address
  Address to write to
data
  Data to be written to DataStore
offset
  Offset from start of DataStore allocationto write.
numBytes
  Count of bytes to be written
dataType
  Data type to be written

#### Return Value

True if success
Requirements

Target Platforms: eMote .NOW

See Also

#### Reference

DataStore Class
DataStore Members
Overload List

Send Feedback