SplitScript reference / MemoryReadable
MemoryReadable
capability
capability MemoryReadable
Supports deserialization from process memory.
Primitive and record layouts with this capability can be selected by Process.read.
Examples
Infer a readable memory type
let health = process.read<i32>(0x1234) else 0
Implemented by
| Member | Description | Available through |
|---|---|---|
| address | Stores a process address. | |
| bool | Stores a boolean value. | |
| f32 | Stores a 32-bit floating-point number. | |
| f64 | Stores a 64-bit floating-point number. | |
| i16 | Stores a 16-bit signed integer. | |
| i32 | Stores a 32-bit signed integer. | |
| i64 | Stores a 64-bit signed integer. | |
| i8 | Stores an 8-bit signed integer. | |
| u16 | Stores a 16-bit unsigned integer. | |
| u32 | Stores a 32-bit unsigned integer. | |
| u64 | Stores a 64-bit unsigned integer. | |
| u8 | Stores an 8-bit unsigned integer. |