Duplicate a byte array, replacing null with byte[0].
Doing this instead of .Clone() because it better handles nulls and it may be faster.
Namespace: FiddlerAssembly: FiddlerCore4 (in FiddlerCore4.dll) Version: 4.6.2.0
Syntax public static byte[] Dupe(
byte[] bIn
)
Public Shared Function Dupe (
bIn As Byte()
) As Byte()
public:
static array<unsigned char>^ Dupe(
array<unsigned char>^ bIn
)
Parameters
- bIn
- Type: SystemByte
The array to copy
Return Value
Type:
ByteThe new array.
See Also