Cost of: 1) creating Boolean collection (one bool for each bit) from a numeric value.
The following SMethod instances are descriptors of methods available on all numeric types.
The following SMethod instances are descriptors of methods available on all numeric types.
val methods
below
Cost of: 1) creating Byte collection from a numeric value
Array of all numeric types ordered by number of bytes in the representation.
Collection of names of numeric casting methods (like toByte
, toInt
, etc).
Cost function which is assigned for numeric cast MethodCall nodes in ErgoTree.
Cost function which is assigned for numeric cast MethodCall nodes in ErgoTree. It is called as part of MethodCall.eval method.
CosterFactory associated with this type.
CosterFactory associated with this type.
Lookup method by its id in this type.
Lookup method by its id in this type.
Looks up the method descriptor by the method name.
Looks up the method descriptor by the method name.
Convert the given method to a cast operation from fromTpe to resTpe.
Checks the given name is numeric type cast method (like toByte, toInt, etc.).
Lookup method in this type by method's id or throw ValidationException.
Lookup method in this type by method's id or throw ValidationException. This method can be used in trySoftForkable section to either obtain valid method or catch ValidatioinException which can be checked for soft-fork condition. It delegate to getMethodById to lookup method.
getMethodById
List of methods defined for instances of this type.
List of methods defined for instances of this type.
Since this object is not used in SMethod instances.
Since this object is not used in SMethod instances.
Type variable used in generic signatures of method descriptors.
Type identifier to use in method serialization
Type identifier to use in method serialization
If this is SType instance then returns the name of the corresponding RType.
If this is SType instance then returns the name of the corresponding RType. Otherwise returns the name of type companion object (e.g. SCollection).