Bittorrent protocol encoder/decoder, in Kotlin.
References:
For repository url, please see ShinonomeTN Public Maven Repository
Maven:
<dependency>
<groupId>com.shinonometn</groupId>
<artifactId>btcodec-kt</artifactId>
<version>1.1</version>
</dependency>
Gradle:
implementation("com.shinonometn:btcodec-kt:1.1")
val decoder = BDecoder(FileInputStream("file.torrent"))
val value = decoder.nextValue()
println(value)