hex
Deprecated
prefer kotlin.text.toHexString
Replace with
import kotlin.text.toHexString
Content copied to clipboard
bytes.toHexString()Content copied to clipboard
Encode bytes as a HEX string with no spaces, newlines and 0x prefixes.
Deprecated
prefer kotlin.text.hexToByteArray
Replace with
import kotlin.text.hexToByteArray
Content copied to clipboard
s.hexToByteArray()Content copied to clipboard
Decode bytes from HEX string. It should be no spaces and 0x prefixes.