Remove conversion methods that acctually already existed and worked in standard library
This commit is contained in:
		
							parent
							
								
									60ebca2616
								
							
						
					
					
						commit
						278e11b315
					
				| @ -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 |  | ||||||
| } |  | ||||||
| @ -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 { | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | } | ||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user