net.corda.core.utilities.kotlin.String - corda

corda / net.corda.core.utilities / kotlin.String

### Extensions for kotlin.String

#### base58toBase64 | Encoding changer. Base58-String to Base64-String, i.e. "SGVsbG8gV29ybGQ=" -> JxF12TrwUP45BMd" `fun String.base58toBase64(): String`
#### base58ToByteArray | `fun String.base58ToByteArray(): ByteArray`
#### base58toHex | Encoding changer. Base58-String to Hex-String, i.e. "SGVsbG8gV29ybGQ=" -> "48656C6C6F20576F726C64" `fun String.base58toHex(): String`
#### base58ToRealString | Base58-String to the actual real String, i.e. "JxF12TrwUP45BMd" -> "Hello World". `fun String.base58ToRealString(): String`
#### base64toBase58 | Encoding changer. Base64-String to Base58-String, i.e. "SGVsbG8gV29ybGQ=" -> JxF12TrwUP45BMd" `fun String.base64toBase58(): String`
#### base64ToByteArray | `fun String.base64ToByteArray(): ByteArray`
#### base64toHex | Encoding changer. Base64-String to Hex-String, i.e. "SGVsbG8gV29ybGQ=" -> "48656C6C6F20576F726C64" `fun String.base64toHex(): String`
#### base64ToRealString | Base64-String to the actual real String, i.e. "SGVsbG8gV29ybGQ=" -> "Hello World". `fun String.base64ToRealString(): String`
#### hexToBase58 | Encoding changer. Hex-String to Base58-String, i.e. "48656C6C6F20576F726C64" -> "JxF12TrwUP45BMd" `fun String.hexToBase58(): String`
#### hexToBase64 | Encoding changer. Hex-String to Base64-String, i.e. "48656C6C6F20576F726C64" -> "SGVsbG8gV29ybGQ=" `fun String.hexToBase64(): String`
#### hexToByteArray | Hex-String to ByteArray. Accept any hex form (capitalized, lowercase, mixed). `fun String.hexToByteArray(): ByteArray`
#### hexToRealString | HEX-String to the actual real String, i.e. "48656C6C6F20576F726C64" -> "Hello World". `fun String.hexToRealString(): String`
#### parseAsHex | Converts this String of hexadecimal digits into a ByteArray. `fun String.parseAsHex(): ByteArray`