toHexString  
  Formats bytes in this array using the specified format.
Note that only HexFormat.upperCase and HexFormat.BytesHexFormat affect formatting.
Since Kotlin
1.9Parameters
the HexFormat to use for formatting, HexFormat.Default by default.
Throws
if the result length is more than String maximum capacity.
Formats bytes in this array using the specified HexFormat.
Note that only HexFormat.upperCase and HexFormat.BytesHexFormat affect formatting.
Since Kotlin
1.9Parameters
the beginning (inclusive) of the subrange to format, 0 by default.
the end (exclusive) of the subrange to format, size of this array by default.
the HexFormat to use for formatting, HexFormat.Default by default.
Throws
when startIndex or endIndex is out of range of this array indices.
if the result length is more than String maximum capacity.
Formats this Byte value using the specified format.
Note that only HexFormat.upperCase and HexFormat.NumberHexFormat affect formatting.
Since Kotlin
1.9Parameters
the HexFormat to use for formatting, HexFormat.Default by default.
Formats this Short value using the specified format.
Note that only HexFormat.upperCase and HexFormat.NumberHexFormat affect formatting.
Since Kotlin
1.9Parameters
the HexFormat to use for formatting, HexFormat.Default by default.
Formats this Int value using the specified format.
Note that only HexFormat.upperCase and HexFormat.NumberHexFormat affect formatting.
Since Kotlin
1.9Parameters
the HexFormat to use for formatting, HexFormat.Default by default.
Formats this Long value using the specified format.
Note that only HexFormat.upperCase and HexFormat.NumberHexFormat affect formatting.
Since Kotlin
1.9Parameters
the HexFormat to use for formatting, HexFormat.Default by default.
Formats this UByte value using the specified format.
Note that only HexFormat.upperCase and HexFormat.NumberHexFormat affect formatting.
Since Kotlin
1.9Parameters
the HexFormat to use for formatting, HexFormat.Default by default.
Formats this UShort value using the specified format.
Note that only HexFormat.upperCase and HexFormat.NumberHexFormat affect formatting.
Since Kotlin
1.9Parameters
the HexFormat to use for formatting, HexFormat.Default by default.
Formats this UInt value using the specified format.
Note that only HexFormat.upperCase and HexFormat.NumberHexFormat affect formatting.
Since Kotlin
1.9Parameters
the HexFormat to use for formatting, HexFormat.Default by default.
Formats this ULong value using the specified format.
Note that only HexFormat.upperCase and HexFormat.NumberHexFormat affect formatting.
Since Kotlin
1.9Parameters
the HexFormat to use for formatting, HexFormat.Default by default.