object Base85Codec
This implements Base85 using the 4 byte block aligned encoding and character set from Z85.
- See also
https://rfc.zeromq.org/spec/32/
- Alphabetic
- By Inheritance
- Base85Codec
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
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 val ASCII_BITMASK: Int
- final val BASE: Long
- final val BASE_2ND_POWER: Long
- final val BASE_3RD_POWER: Long
- final val BASE_4TH_POWER: Long
- lazy val DECODE_MAP: Array[Byte]
- final val ENCODED_UUID_LENGTH: Int
- final val ENCODE_MAP: Array[Byte]
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
decodeAlignedBytes(encoded: String): Array[Byte]
Decode an arbitrary byte array.
Decode an arbitrary byte array.
Output may contain padding bytes, if the input was not 4 byte aligned. Use decodeBytes in that case and specify the expected number of output bytes without padding.
-
def
decodeBytes(encoded: String, outputLength: Int): Array[Byte]
Decode an arbitrary byte array.
Decode an arbitrary byte array.
Only
outputLengthbytes will be returned. Any extra bytes, such as padding added because the input was unaligned, will be dropped. -
def
decodeUUID(encoded: String): UUID
Decode a 16 byte UUID.
-
def
encodeBytes(input: Array[Byte]): String
Encode an arbitrary byte array.
Encode an arbitrary byte array.
Unaligned input will be padded to a multiple of 4 bytes.
-
def
encodeUUID(id: UUID): String
Encode a 16 byte UUID.
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
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
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()