robotManager.Helpful Namespace
wManager.Wow.Helpers Namespace
WRobot

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

Replaces the specified bytes by others.

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

Syntax


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

Parameters

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

Return Value

System.Byte[].