Click or drag to resize
UtilitiesHasMagicBytes Method (Byte, Byte)
Determines whether the arrData array STARTS WITH with the supplied arrMagics bytes. Used for Content-Type sniffing.

Namespace: Fiddler
Assembly: FiddlerCore4 (in FiddlerCore4.dll) Version: 4.6.2.0
Syntax
public static bool HasMagicBytes(
	byte[] arrData,
	byte[] arrMagics
)

Parameters

arrData
Type: SystemByte
The data, or null
arrMagics
Type: SystemByte
The MagicBytes to look for

Return Value

Type: Boolean
TRUE if arrData begins with arrMagics
See Also