ByteArrayExtensionsToDecimalValuesString(Byte, String) Method
Converts the byte array to string of decimal values.
Namespace: KGySoft.CoreLibrariesAssembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 9.0.0
public static string ToDecimalValuesString(
this byte[] bytes,
string separator = ", "
)
<ExtensionAttribute>
Public Shared Function ToDecimalValuesString (
bytes As Byte(),
Optional separator As String = ", "
) As String
public:
[ExtensionAttribute]
static String^ ToDecimalValuesString(
array<unsigned char>^ bytes,
String^ separator = L", "
)
[<ExtensionAttribute>]
static member ToDecimalValuesString :
bytes : byte[] *
?separator : string
(* Defaults:
let _separator = defaultArg separator ", "
*)
-> string
- bytes Byte
- The byte array to convert.
- separator String (Optional)
- The separator to use between the decimal numbers. This parameter is optional.
Default value: ", " (comma and space)
StringThe string representation, in decimal, of the contents of
bytes.In Visual Basic and C#, you can call this method as an instance method on any object of type
Byte. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).