C# Class Voodoo.Memory

Show file Open project: EasyAsABC123/Memory

Public Methods

Method Description
Read ( UIntPtr lpBaseAddress, Type type ) : object
Read ( UIntPtr lpBaseAddress, Type type, uint size ) : object
Read ( UIntPtr lpBaseAddress, Type type, uint size, IntPtr &bytesRead ) : object

This function will read an from memory using the given parameters.

Write ( long Address, byte value ) : bool
Write ( long Address, byte buffer, int size ) : bool
Write ( long Address, double value ) : bool
Write ( long Address, float value ) : bool
Write ( long Address, int value ) : bool
Write ( long Address, long value ) : bool
Write ( long Address, sbyte value ) : bool
Write ( long Address, short value ) : bool
Write ( long Address, string value ) : bool
Write ( long Address, uint value ) : bool
Write ( long Address, ulong value ) : bool
Write ( long Address, ushort value ) : bool

Method Details

Read() public static method

public static Read ( UIntPtr lpBaseAddress, Type type ) : object
lpBaseAddress System.UIntPtr
type System.Type
return object

Read() public static method

public static Read ( UIntPtr lpBaseAddress, Type type, uint size ) : object
lpBaseAddress System.UIntPtr
type System.Type
size uint
return object

Read() public static method

This function will read an from memory using the given parameters.
public static Read ( UIntPtr lpBaseAddress, Type type, uint size, IntPtr &bytesRead ) : object
lpBaseAddress System.UIntPtr The address you want to read.
type System.Type The type of variable you are wanting to read.
size uint The number of bytes to be read.
bytesRead System.IntPtr
return object

Write() public static method

public static Write ( long Address, byte value ) : bool
Address long
value byte
return bool

Write() public static method

public static Write ( long Address, byte buffer, int size ) : bool
Address long
buffer byte
size int
return bool

Write() public static method

public static Write ( long Address, double value ) : bool
Address long
value double
return bool

Write() public static method

public static Write ( long Address, float value ) : bool
Address long
value float
return bool

Write() public static method

public static Write ( long Address, int value ) : bool
Address long
value int
return bool

Write() public static method

public static Write ( long Address, long value ) : bool
Address long
value long
return bool

Write() public static method

public static Write ( long Address, sbyte value ) : bool
Address long
value sbyte
return bool

Write() public static method

public static Write ( long Address, short value ) : bool
Address long
value short
return bool

Write() public static method

public static Write ( long Address, string value ) : bool
Address long
value string
return bool

Write() public static method

public static Write ( long Address, uint value ) : bool
Address long
value uint
return bool

Write() public static method

public static Write ( long Address, ulong value ) : bool
Address long
value ulong
return bool

Write() public static method

public static Write ( long Address, ushort value ) : bool
Address long
value ushort
return bool