Companion
object Companion
Functions
Link copied to clipboard
Link copied to clipboard
Serialize a bitcoin-style "compact" integer
Link copied to clipboard
Link copied to clipboard
fun list(lst: Collection<BCHserializable>, format: SerializationType = SerializationType.UNKNOWN): BCHserialized
fun <T> list(lst: List<T>, Tserializer: (T) -> BCHserialized, format: SerializationType = SerializationType.UNKNOWN): BCHserialized
Link copied to clipboard
fun map(mp: Map<out BCHserializable, BCHserializable>, format: SerializationType = SerializationType.UNKNOWN): BCHserialized
Serializes a map object that contains serializable keys and values
fun <K, V> map(mp: Map<K, V>, Kserializer: (K) -> BCHserialized, Vserializer: (V) -> BCHserialized, format: SerializationType = SerializationType.UNKNOWN): BCHserialized
Serializes a map object with the provided key and value serialization functions
Link copied to clipboard
fun mutableMap(mp: MutableMap<out BCHserializable, out BCHserializable>, format: SerializationType = SerializationType.UNKNOWN): BCHserialized
Serializes a map object that contains serializable keys and values
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Serialize into a 32 bit unsigned number
Link copied to clipboard
Serialize into an unsigned 8 bit number
Serialize into an 8 bit number
Link copied to clipboard
Link copied to clipboard