MonoBrick EV3 Firmware
Public Member Functions | List of all members
MonoBrickFirmware.Native.MemoryArea Class Reference

Public Member Functions

 MemoryArea (IntPtr ptr, uint size)
 
void Write (byte[] data)
 Write a byte array to the memory map More...
 
void Write (int offset, byte[] data)
 Write a byte array to the memory map More...
 
byte[] Read ()
 Copy the whole memory map into an array and return it More...
 
byte[] Read (int offset, int length)
 Copy part of the memory map into an array and return it More...
 

Member Function Documentation

byte [] MonoBrickFirmware.Native.MemoryArea.Read ( )
inline

Copy the whole memory map into an array and return it

byte [] MonoBrickFirmware.Native.MemoryArea.Read ( int  offset,
int  length 
)
inline

Copy part of the memory map into an array and return it

Parameters
offsetMemory map offset
lengthNumber of bytes to read
void MonoBrickFirmware.Native.MemoryArea.Write ( byte[]  data)
inline

Write a byte array to the memory map

Parameters
dataData.
void MonoBrickFirmware.Native.MemoryArea.Write ( int  offset,
byte[]  data 
)
inline

Write a byte array to the memory map

Parameters
offsetMemory map offset
dataData to write

The documentation for this class was generated from the following file: