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 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈