A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://docs.microsoft.com/en-us/dotnet/api/system.convert.tohexstring below:

Convert.ToHexString Method (System) | Microsoft Learn

Convert.ToHexString Method Definition Overloads ToHexString(ReadOnlySpan<Byte>)

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

ToHexString(Byte[], Int32, Int32)

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

ToHexString(Byte[])

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

ToHexString(ReadOnlySpan<Byte>)
Source:
Convert.cs
Source:
Convert.cs
Source:
Convert.cs
Source:
Convert.cs

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

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

The string representation in hex of the elements in bytes.

Exceptions

bytes is too large to be encoded.

ToHexString(Byte[], Int32, Int32)
Source:
Convert.cs
Source:
Convert.cs
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 uppercase 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 ^ ToHexString(cli::array <System::Byte> ^ inArray, int offset, int length);
public static string ToHexString(byte[] inArray, int offset, int length);
static member ToHexString : byte[] * int * int -> string
Public Shared Function ToHexString (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 in inArray.

length
Int32

The number of elements of inArray to convert.

Returns

The string representation in hex of length elements of inArray, starting at position offset.

Exceptions

offset or length is negative.

offset plus length is greater than the length of inArray.

inArray is too large to be encoded.

ToHexString(Byte[])
Source:
Convert.cs
Source:
Convert.cs
Source:
Convert.cs
Source:
Convert.cs

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

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

An array of 8-bit unsigned integers.

Returns

The string representation in hex of the elements in inArray.

Exceptions

inArray is too large to be encoded.

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, see our contributor guide. In this article

Was this page helpful?


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4