Package org.starcoin.types
Class TypeTag
java.lang.Object
org.starcoin.types.TypeTag
- Direct Known Subclasses:
TypeTag.Address,TypeTag.Bool,TypeTag.Signer,TypeTag.Struct,TypeTag.U128,TypeTag.U64,TypeTag.U8,TypeTag.Vector
public abstract class TypeTag extends Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTypeTag.Addressstatic classTypeTag.Boolstatic classTypeTag.Signerstatic classTypeTag.Structstatic classTypeTag.U128static classTypeTag.U64static classTypeTag.U8static classTypeTag.Vector -
Constructor Summary
Constructors Constructor Description TypeTag() -
Method Summary
Modifier and Type Method Description static TypeTagbcsDeserialize(byte[] input)byte[]bcsSerialize()static TypeTagdeserialize(Deserializer deserializer)abstract voidserialize(Serializer serializer)
-
Constructor Details
-
TypeTag
public TypeTag()
-
-
Method Details
-
deserialize
- Throws:
DeserializationError
-
bcsDeserialize
- Throws:
DeserializationError
-
serialize
- Throws:
SerializationError
-
bcsSerialize
- Throws:
SerializationError
-