Borsh Object
- Mixed-in types
-
- Implementers
Constructors
-
BorshObject.new()
-
Creates a class that can be serialised into a buffer.
const
Properties
-
borshSchema
→ BorshSchema
-
Maps
this
class' properties to codecs.
no setterinherited
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
borshSize()
→ int
-
Returns the serialized byte length of
this
instance.
inherited
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toBorsh()
→ Iterable<int>
-
Serializes
this
instance into a buffer.
inherited
-
toJson()
→ dynamic
-
Serialises
this
class into a JSON object.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited