BytesToHex Method
BytesToHex(ReadOnlySpan<Byte>)
Encode the byte collection into a string representation.
C#
public static string BytesToHex(ReadOnlySpan<byte> bytes)
Parameters
Type | Name | Description |
---|---|---|
System.ReadOnlySpan<System.Byte> | bytes |
Returns
System.String
A string representation of data
.