robotManager.Helpful Namespace
wManager.Wow.Helpers Namespace
WRobot

Extensions..::..Replace Method (array<Byte>[]()[][], Int32, Int32)

Replaces the specified bytes by others.

Namespace:  robotManager.Helpful
Assembly:  robotManager (in robotManager.dll)

Syntax


public static byte[] Replace(
	this byte[] src,
	int find,
	int replaceBy
)
<ExtensionAttribute> _
Public Shared Function Replace ( _
	src As Byte(), _
	find As Integer, _
	replaceBy As Integer _
) As Byte()
[ExtensionAttribute]
public:
static array<unsigned char^>^ Replace(
	array<unsigned char^>^ src, 
	int^ find, 
	int^ replaceBy
)

Parameters

src
Type: array<Byte>[]()[][]
The source.
find
Type: Int32
bytes to find.
replaceBy
Type: Int32
replace found bytes by.

Return Value

System.Byte[].