Short

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

A Short register at offset. It takes 2 bytes of the byte area.

Attributes

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

Members list

Type members

Inherited types

final type Boxed = Short

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): Short

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: Short): 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