io.github.binaryfoo.decoders.NullDecoder.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of emv-bertlv Show documentation
Show all versions of emv-bertlv Show documentation
Some decoders for the data used in EMV credit card transactions.
package io.github.binaryfoo.decoders
import io.github.binaryfoo.DecodedData
import io.github.binaryfoo.Decoder
import java.util.Collections
public 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