TextHelpers.StripBom Method (Byte[])

 

If "0xff 0xfe BOM" is at the beginning of the input byte stream, it will be stripped.

Namespace:   Microsoft.ConfigurationManagement.Messaging.Framework
Assembly:  Microsoft.ConfigurationManagement.Messaging (in Microsoft.ConfigurationManagement.Messaging.dll)

Syntax

public static byte[] StripBom(
    byte[] inputData
)
public:
static array<unsigned char>^ StripBom(
    array<unsigned char>^ inputData
)
Public Shared Function StripBom (
    inputData As Byte()
) As Byte()

Parameters

  • inputData
    Type: System.Byte[]

    Byte array from which to strip the BOM.

Return Value

Type: System.Byte[]

Byte array with the BOM stripped out.

See Also

StripBomā€‚Overload
TextHelpers Class
Microsoft.ConfigurationManagement.Messaging.Framework Namespace

Return to top