Remove conversion methods that acctually already existed and worked in standard library

This commit is contained in:
Ugljesa Jovanovic 2020-07-17 12:30:15 +02:00 committed by Ugljesa Jovanovic
parent 60ebca2616
commit 278e11b315
No known key found for this signature in database
GPG Key ID: 178E6DFCECCB0E0F
2 changed files with 13 additions and 16 deletions

View File

@ -1,16 +0,0 @@
package com.ionspin.kotlin.crypto.util
/**
* Created by Ugljesa Jovanovic
* ugljesa.jovanovic@ionspin.com
* on 22-Jun-2020
*/
@Suppress("CAST_NEVER_SUCCEEDS")
fun ByteArray.asUByteArray() : UByteArray {
return this as UByteArray
}
@Suppress("CAST_NEVER_SUCCEEDS")
fun UByteArray.asByteArray() : ByteArray {
return this as ByteArray
}

View File

@ -0,0 +1,13 @@
package com.ionspin.kotlin.crypto
import kotlin.test.Test
/**
* Created by Ugljesa Jovanovic
* ugljesa.jovanovic@ionspin.com
* on 17-Jul-2020
*/
class DebugTest {
}