Skip to content

Commit f74f57e

Browse files
committed
chore: cleanup
1 parent 2b924bc commit f74f57e

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

app/src/main/java/to/bitkit/ext/ByteArray.kt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,11 @@ fun ByteArray.toHex(): String = this.toHexString()
1212
fun String.fromHex(): ByteArray = this.hexToByteArray()
1313
// endregion
1414

15-
// region base64
1615
@OptIn(ExperimentalEncodingApi::class)
1716
fun ByteArray.toBase64(): String = Base64.encode(this)
1817

1918
@OptIn(ExperimentalEncodingApi::class)
2019
fun String.fromBase64(): ByteArray = Base64.decode(this)
21-
// endregion
2220

2321
val String.uByteList get() = this.toByteArray().map { it.toUByte() }
2422

0 commit comments

Comments
 (0)