Hunny Software Library Reference

ByteString.Replace Method (Byte, Byte)

Replaces all occurrences of a specified byte in this instance with another specified byte.

[Visual Basic]
Overloads Public Function Replace( _
   ByVal oldByte As Byte, _
   ByVal newByte As Byte _
) As ByteString
[C#]
public ByteString Replace(
   byte oldByte,
   byte newByte
);

Parameters

oldByte
byte to be replaced
newByte
byte to replace all occurrences of oldByte

Return Value

new ByteString with all occurrences of oldByte replaced by newByte

See Also

ByteString Class | Hunny.Base Namespace | ByteString.Replace Overload List