Skip to content

ShinonomeTN/btcodec-kt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

51af4d0 · Jan 12, 2024

History

12 Commits
Jan 8, 2023
Jan 12, 2024
Jan 8, 2023
Jan 8, 2023
Jan 12, 2024
Jan 8, 2023
Jan 8, 2023
Jan 12, 2024

Repository files navigation

BTCodec KT

Bittorrent protocol encoder/decoder, in Kotlin.

References:

Usage

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")

Read bt protocol content

val decoder = BDecoder(FileInputStream("file.torrent"))
val value = decoder.nextValue()
println(value)

About

Bittorrent protocol encoder/decoder, in Kotlin.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages