Home

Awesome

kotlin-multibase

Implementation of multibase -self identifying base encodings- in Kotlin.

Install

Add the relevant dependency to your project:

allprojects {
	repositories {
		...
		maven { url 'https://jitpack.io' }
	}
}

Maven

<dependency>
  <groupId>io.ipfs.multiformats</groupId>
  <artifactId>kotlin-multibase</artifactId>
  <version>1.0.1</version>
  <type>pom</type>
</dependency>

Gradle

compile 'io.ipfs.multiformats:kotlin-multibase:1.0.1'

Usage

val input:String = "..."
val decode = MultiBase.decode(input)
val inputByteArray: ByteArray = ....
val encode = MultiBase.encode(MultiBase.Base.BASE32, inputByteArray)

Maintainers

Captain: @changjiashuai.

Contribute

Contributions welcome. Please check out the issues.

Check out our contributing document for more information on how we work, and about contributing in general. Please be aware that all interactions related to multiformats are subject to the IPFS Code of Conduct.

Small note: If editing the README, please conform to the standard-readme specification.

License

MIT © 2016 Protocol Labs Inc.