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

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

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

import io.github.binaryfoo.DecodedData
import io.github.binaryfoo.Decoder

class NullDecoder : Decoder {
    override fun decode(input: String, startIndexInBytes: Int, session: DecodeSession): List {
        return listOf()
    }

    override fun validate(input: String?): String? {
        return null
    }

    override fun getMaxLength(): Int {
        return 0
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy