SerializationUtil

expect object SerializationUtil
actual object SerializationUtil
actual object SerializationUtil

Functions

Link copied to clipboard
expect fun escape(value: String?): String
actual fun escape(value: String?): String
actual fun escape(value: String?): String
Link copied to clipboard
expect fun intFromHex(hex: String): Int
actual fun intFromHex(hex: String): Int
actual fun intFromHex(hex: String): Int
Link copied to clipboard
expect fun intToHex(value: Int): String
actual fun intToHex(value: Int): String

The unsigned integer value is the argument plus 232 if the argument is negative; otherwise, it is equal to the argument. This value is converted to a string of ASCII digits in hexadecimal (base 16) with no extra leading {@code 0}s.

actual fun intToHex(value: Int): String
Link copied to clipboard
expect fun longFromHex(hex: String): Long
actual fun longFromHex(hex: String): Long
actual fun longFromHex(hex: String): Long
Link copied to clipboard
expect fun longToHex(value: Long): String
actual fun longToHex(value: Long): String
actual fun longToHex(value: Long): String
Link copied to clipboard
expect fun unescape(value: String?): String?
actual fun unescape(value: String?): String?
actual fun unescape(value: String?): String?