All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.github.binaryfoo.decoders.Base10PrimitiveDecoder.kt Maven / Gradle / Ivy

There is a newer version: 0.1.8
Show newest version
package io.github.binaryfoo.decoders

import kotlin.text.isEmpty

class Base10PrimitiveDecoder : PrimitiveDecoder {
    override fun decode(hexString: String): String {
        return if (hexString.isEmpty()) "" else Integer.parseInt(hexString, 16).toString()
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy