Movatterモバイル変換


[0]ホーム

URL:


Skip to main contentSkip to in-page navigation

This browser is no longer supported.

Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.

Download Microsoft EdgeMore info about Internet Explorer and Microsoft Edge
Table of contentsExit editor mode

Convert.ToHexStringLower Method

Definition

Namespace:
System
Assemblies:
netstandard.dll, System.Runtime.dll

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.

Overloads

NameDescription
ToHexStringLower(Byte[])

Converts an array of 8-bit unsigned integers to its equivalent string representation that is encoded with lowercase hex characters.

ToHexStringLower(ReadOnlySpan<Byte>)

Converts a span of 8-bit unsigned integers to its equivalent string representation that is encoded with lowercase hex characters.

ToHexStringLower(Byte[], Int32, Int32)

Converts a subset of an array of 8-bit unsigned integers to its equivalent string representation that is encoded with lowercase hex characters.Parameters specify the subset as an offset in the input array and the number of elements in the array to convert.

ToHexStringLower(Byte[])

Source:
Convert.cs
Source:
Convert.cs

Converts an array of 8-bit unsigned integers to its equivalent string representation that is encoded with lowercase hex characters.

public: static System::String ^ ToHexStringLower(cli::array <System::Byte> ^ inArray);
public static string ToHexStringLower(byte[] inArray);
static member ToHexStringLower : byte[] -> string
Public Shared Function ToHexStringLower (inArray As Byte()) As String

Parameters

inArray
Byte[]

An array of 8-bit unsigned integers.

Returns

The string representation in hex of the elements ininArray.

Exceptions

inArray isnull.

inArray is too large to be encoded.

Applies to

ToHexStringLower(ReadOnlySpan<Byte>)

Source:
Convert.cs
Source:
Convert.cs

Converts a span of 8-bit unsigned integers to its equivalent string representation that is encoded with lowercase hex characters.

public: static System::String ^ ToHexStringLower(ReadOnlySpan<System::Byte> bytes);
public static string ToHexStringLower(ReadOnlySpan<byte> bytes);
static member ToHexStringLower : ReadOnlySpan<byte> -> string
Public Shared Function ToHexStringLower (bytes As ReadOnlySpan(Of Byte)) As String

Parameters

bytes
ReadOnlySpan<Byte>

A span of 8-bit unsigned integers.

Returns

The string representation in hex of the elements inbytes.

Exceptions

bytes is too large to be encoded.

Applies to

ToHexStringLower(Byte[], Int32, Int32)

Source:
Convert.cs
Source:
Convert.cs

Converts a subset of an array of 8-bit unsigned integers to its equivalent string representation that is encoded with lowercase hex characters.Parameters specify the subset as an offset in the input array and the number of elements in the array to convert.

public: static System::String ^ ToHexStringLower(cli::array <System::Byte> ^ inArray, int offset, int length);
public static string ToHexStringLower(byte[] inArray, int offset, int length);
static member ToHexStringLower : byte[] * int * int -> string
Public Shared Function ToHexStringLower (inArray As Byte(), offset As Integer, length As Integer) As String

Parameters

inArray
Byte[]

An array of 8-bit unsigned integers.

offset
Int32

An offset ininArray.

length
Int32

The number of elements ofinArray to convert.

Returns

The string representation in hex oflength elements ofinArray, starting at positionoffset.

Exceptions

inArray isnull.

offset orlength is negative.

-or-

offset +length is greater than the length ofinArray.

-or-

inArray is too large to be encoded.

Applies to

Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, seeour contributor guide.

Feedback

Was this page helpful?

YesNoNo

Need help with this topic?

Want to try using Ask Learn to clarify or guide you through this topic?

Suggest a fix?

In this article

Was this page helpful?

YesNo
NoNeed help with this topic?

Want to try using Ask Learn to clarify or guide you through this topic?

Suggest a fix?