Int

zio.blocks.schema.binding.Register.Int
case class Int(offset: RegisterOffset) extends Register[Int]

An Int register at offset. It takes 4 bytes of the byte area.

Attributes

Source
Register.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Register[Int]
class Object
trait Matchable
class Any
Show all

Members list

Type members

Inherited types

final type Boxed = Int

The type of the field's value, which get returns and set takes.

The type of the field's value, which get returns and set takes.

Attributes

Inherited from:
Register
Source
Register.scala

Value members

Concrete methods

def get(registers: Registers, base: RegisterOffset): Int

Reads the field from registers at this register's offset plus base.

Reads the field from registers at this register's offset plus base.

Attributes

Source
Register.scala
def set(registers: Registers, base: RegisterOffset, boxed: Int): Unit

Writes boxed into registers at this register's offset plus base.

Writes boxed into registers at this register's offset plus base.

Attributes

Source
Register.scala

The space the field takes, as a RegisterOffset: the size of its type in the byte area, one object slot, or nothing for Unit.

The space the field takes, as a RegisterOffset: the size of its type in the byte area, one object slot, or nothing for Unit.

Attributes

Source
Register.scala

Inherited methods

def productElementNames: Iterator[String]

An iterator over the names of all the elements of this product.

An iterator over the names of all the elements of this product.

Attributes

Inherited from:
Product
Source
Product.scala
def productIterator: Iterator[Any]

An iterator over all the elements of this product.

An iterator over all the elements of this product.

Attributes

Returns

in the default implementation, an Iterator[Any]

Inherited from:
Product
Source
Product.scala