object Encoding
- Alphabetic
- By Inheritance
- Encoding
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val base58alphabet: IndexedSeq[(Char, Int)]
- val charToIdxBase58: Map[Char, Int]
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
- def decodeFromBase58(b58: String): Either[EncodingError, Array[Byte]]
Decodes a base58 string into a byte array.
Decodes a base58 string into a byte array.
- b58
the base58 string to decode
- returns
the byte array
- def decodeFromBase58Check(b58: String): Either[EncodingError, Array[Byte]]
Decodes a base58 string with a checksum into a byte array.
Decodes a base58 string with a checksum into a byte array.
- b58
the base58 string to decode
- returns
the byte array
- def decodeFromHex(hex: String): Either[EncodingError, Array[Byte]]
Decodes a hex string into a byte array.
Decodes a hex string into a byte array.
- hex
the hex string to decode
- returns
the byte array
- def encodeToBase58(array: Array[Byte]): String
Encodes a byte array into a base58 string
Encodes a byte array into a base58 string
- array
the byte array to encode
- returns
the base58 string
- def encodeToBase58Check(payload: Array[Byte]): String
Encodes a byte array into a base58 string with a checksum.
Encodes a byte array into a base58 string with a checksum.
- payload
the byte array to encode
- returns
the base58 string
- def encodeToHex(array: Array[Byte]): String
Encodes a byte array into a hex string.
Encodes a byte array into a hex string.
- array
the byte array to encode
- returns
the hex string
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- val idxToCharBase58: Map[Int, Char]
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)