XmlTextWriter.WriteBinHex(Byte[], Int32, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
The WriteState is Closed.
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
الملاحظات
https://aka.ms/ContentUserFeedback.
قريبًا: خلال عام 2024، سنتخلص تدريجيًا من GitHub Issues بوصفها آلية إرسال ملاحظات للمحتوى ونستبدلها بنظام ملاحظات جديد. لمزيد من المعلومات، راجعإرسال الملاحظات وعرضها المتعلقة بـ