ReadWriteModule

fr.hammons.slinc.modules.ReadWriteModule

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

def read(memory: Mem, offset: Bytes, typeDescriptor: TypeDescriptor): Inner
def readArray[A](memory: Mem, offset: Bytes, size: Int)(using DescriptorOf[A], ClassTag[A]): Array[A]
def readFn[A](mem: Mem, descriptor: CFunctionDescriptor, fn: => MethodHandle => Mem => A)(using Fn[A, _, _]): A
def write(memory: Mem, offset: Bytes, typeDescriptor: TypeDescriptor, value: Inner): Unit
def writeArray[A](memory: Mem, offset: Bytes, value: Array[A])(using DescriptorOf[A]): Unit

Abstract fields

val byteReader: () => Byte
val byteWriter: () => Byte
val doubleReader: () => Double
val doubleWriter: () => Double
val floatReader: () => Float
val floatWriter: () => Float
val intReader: () => Int
val intWriter: () => Int
val longReader: () => Long
val longWriter: () => Long
val memReader: () => Mem
val memWriter: () => Mem
val shortReader: () => Short
val shortWriter: () => Short