IntegerToByteStringCostingFun

scalus.uplc.eval.IntegerToByteStringCostingFun

When invoking integerToByteString built-in function, its second argument is a built-in Integer but with a different size measure, specifying the width (in bytes) of the output bytestring (zero-padded to the desired size). The memory consumed by the function is given by w, not the size of w. Its MemoryUsage is equal to the number of eight-byte words required to contain w bytes, allowing its costing function to work properly.

Attributes

See also
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait CostingFun
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product