Upraviť

Zdieľať cez


XmlTextWriter.WriteBinHex(Byte[], Int32, Int32) Method

Definition

Encodes the specified binary bytes as binhex and writes out the resulting text.

public:
 override void WriteBinHex(cli::array <System::Byte> ^ buffer, int index, int count);
public override void WriteBinHex (byte[] buffer, int index, int count);
override this.WriteBinHex : byte[] * int * int -> unit
Public Overrides Sub WriteBinHex (buffer As Byte(), index As Integer, count As Integer)

Parameters

buffer
Byte[]

Byte array to encode.

index
Int32

The position in the buffer indicating the start of the bytes to write.

count
Int32

The number of bytes to write.

Exceptions

buffer is null.

The buffer length minus index is less than count.

index or count is less than zero.

Remarks

Note

Starting with the .NET Framework 2.0, we recommend that you create XmlWriter instances by using the XmlWriter.Create method and the XmlWriterSettings class to take advantage of new functionality.

Applies to