public class CodecUtils
extends java.lang.Object
Constructor and Description |
---|
CodecUtils() |
Modifier and Type | Method and Description |
---|---|
static java.util.List<java.lang.Object> |
arrayLikeToList(java.lang.Object value) |
static boolean |
compareArray(java.util.List list,
java.lang.Object other) |
static boolean |
compareMap(java.util.Map map1,
java.lang.Object obj) |
static java.util.List<Codec> |
decodeU8a(byte[] u8a,
java.util.List<Types.ConstructorCodec> types) |
static void |
decodeU8a(byte[] u8a,
java.util.List<Types.ConstructorCodec> types,
java.util.List<Codec> results) |
static java.util.List<Codec> |
decodeU8a(byte[] u8a,
Types.ConstructorDef types)
Given an u8a, and an array of Type constructors, decode the u8a against the types, and return an array of decoded values.
|
public static java.util.List<Codec> decodeU8a(byte[] u8a, Types.ConstructorDef types)
Given an u8a, and an array of Type constructors, decode the u8a against the types, and return an array of decoded values.
u8a
- types
- public static void decodeU8a(byte[] u8a, java.util.List<Types.ConstructorCodec> types, java.util.List<Codec> results)
public static java.util.List<Codec> decodeU8a(byte[] u8a, java.util.List<Types.ConstructorCodec> types)
public static java.util.List<java.lang.Object> arrayLikeToList(java.lang.Object value)
public static boolean compareMap(java.util.Map map1, java.lang.Object obj)
public static boolean compareArray(java.util.List list, java.lang.Object other)