Difference between revisions of "Template:ReadWriteMemory"
Jump to navigation
Jump to search
m (Removed duplicate.) |
(Major overhaul of the template.) |
||
| Line 1: | Line 1: | ||
| − | + | <div style="border:1px solid #4A90E2; background:#F7FBFF; margin:0.8em 0; font-family:monospace; max-width:980px;"> | |
| − | + | <div style="background:#E8F2FF; color:#1F4E79; font-weight:bold; padding:0.55em 0.75em; border-bottom:1px solid #4A90E2; font-size:1.05em;"> | |
| − | + | Memory Access Related Lua Functions | |
| − | + | </div> | |
| − | + | ||
| − | + | <div style="display:flex; flex-wrap:wrap; gap:0.75em; padding:0.75em;"> | |
| − | + | ||
| − | + | <div style="flex:1 1 260px; min-width:240px; border:1px solid #C7DDF7; background:#FFFFFF;"> | |
| − | + | <div style="background:#D0E4FF; color:#1F4E79; font-weight:bold; padding:0.4em 0.6em; border-bottom:1px solid #C7DDF7;"> | |
| − | + | Read Functions | |
| − | + | </div> | |
| − | + | <ul style="margin:0.5em 0 0.6em 1.6em; padding:0;"> | |
| − | + | <li>[[Lua:readBytes|readBytes]]</li> | |
| − | + | <li>[[Lua:readSmallInteger|readSmallInteger]]</li> | |
| − | + | <li>[[Lua:readInteger|readInteger]]</li> | |
| − | + | <li>[[Lua:readQword|readQword]]</li> | |
| − | + | <li>[[Lua:readPointer|readPointer]]</li> | |
| − | + | <li>[[Lua:readFloat|readFloat]]</li> | |
| − | + | <li>[[Lua:readDouble|readDouble]]</li> | |
| − | + | <li>[[Lua:readString|readString]]</li> | |
| − | + | </ul> | |
| − | + | </div> | |
| − | + | ||
| − | + | <div style="flex:1 1 260px; min-width:240px; border:1px solid #C7DDF7; background:#FFFFFF;"> | |
| − | + | <div style="background:#D0E4FF; color:#1F4E79; font-weight:bold; padding:0.4em 0.6em; border-bottom:1px solid #C7DDF7;"> | |
| − | + | Read Functions <span style="font-weight:normal;">(Local Process)</span> | |
| − | + | </div> | |
| − | + | <ul style="margin:0.5em 0 0.6em 1.6em; padding:0;"> | |
| − | + | <li>[[Lua:readBytesLocal|readBytesLocal]]</li> | |
| − | + | <li>[[Lua:readIntegerLocal|readIntegerLocal]]</li> | |
| − | + | <li>[[Lua:readQwordLocal|readQwordLocal]]</li> | |
| − | + | <li>[[Lua:readPointerLocal|readPointerLocal]]</li> | |
| − | + | <li>[[Lua:readFloatLocal|readFloatLocal]]</li> | |
| − | + | <li>[[Lua:readDoubleLocal|readDoubleLocal]]</li> | |
| − | + | <li>[[Lua:readStringLocal|readStringLocal]]</li> | |
| − | + | </ul> | |
| − | + | </div> | |
| − | + | ||
| − | + | <div style="flex:1 1 260px; min-width:240px; border:1px solid #C7DDF7; background:#FFFFFF;"> | |
| − | + | <div style="background:#D0E4FF; color:#1F4E79; font-weight:bold; padding:0.4em 0.6em; border-bottom:1px solid #C7DDF7;"> | |
| − | + | Write Functions | |
| − | + | </div> | |
| − | + | <ul style="margin:0.5em 0 0.6em 1.6em; padding:0;"> | |
| − | + | <li>[[Lua:writeBytes|writeBytes]]</li> | |
| − | + | <li>[[Lua:writeSmallInteger|writeSmallInteger]]</li> | |
| − | + | <li>[[Lua:writeInteger|writeInteger]]</li> | |
| − | + | <li>[[Lua:writeQword|writeQword]]</li> | |
| − | + | <li>[[Lua:writeFloat|writeFloat]]</li> | |
| − | + | <li>[[Lua:writeDouble|writeDouble]]</li> | |
| − | + | <li>[[Lua:writeString|writeString]]</li> | |
| − | + | </ul> | |
| − | + | </div> | |
| − | + | ||
| − | + | <div style="flex:1 1 260px; min-width:240px; border:1px solid #C7DDF7; background:#FFFFFF;"> | |
| − | + | <div style="background:#D0E4FF; color:#1F4E79; font-weight:bold; padding:0.4em 0.6em; border-bottom:1px solid #C7DDF7;"> | |
| − | + | Write Functions <span style="font-weight:normal;">(Local Process)</span> | |
| − | + | </div> | |
| − | + | <ul style="margin:0.5em 0 0.6em 1.6em; padding:0;"> | |
| − | + | <li>[[Lua:writeBytesLocal|writeBytesLocal]]</li> | |
| − | + | <li>[[Lua:writeIntegerLocal|writeIntegerLocal]]</li> | |
| − | + | <li>[[Lua:writeQwordLocal|writeQwordLocal]]</li> | |
| − | + | <li>[[Lua:writeFloatLocal|writeFloatLocal]]</li> | |
| − | + | <li>[[Lua:writeDoubleLocal|writeDoubleLocal]]</li> | |
| − | + | <li>[[Lua:writeStringLocal|writeStringLocal]]</li> | |
| − | + | </ul> | |
| − | + | </div> | |
| − | + | ||
| − | + | <div style="flex:1 1 360px; min-width:300px; border:1px solid #C7DDF7; background:#FFFFFF;"> | |
| − | + | <div style="background:#D0E4FF; color:#1F4E79; font-weight:bold; padding:0.4em 0.6em; border-bottom:1px solid #C7DDF7;"> | |
| − | + | Byte Table Conversions <span style="font-weight:normal;">(Value → Byte Table)</span> | |
| − | + | </div> | |
| − | + | <ul style="margin:0.5em 0 0.6em 1.6em; padding:0;"> | |
| − | + | <li>[[Lua:wordToByteTable|wordToByteTable]]</li> | |
| − | + | <li>[[Lua:dwordToByteTable|dwordToByteTable]]</li> | |
| − | + | <li>[[Lua:qwordToByteTable|qwordToByteTable]]</li> | |
| − | + | <li>[[Lua:floatToByteTable|floatToByteTable]]</li> | |
| − | + | <li>[[Lua:doubleToByteTable|doubleToByteTable]]</li> | |
| − | + | <li>[[Lua:stringToByteTable|stringToByteTable]]</li> | |
| − | + | <li>[[Lua:wideStringToByteTable|wideStringToByteTable]]</li> | |
| − | + | </ul> | |
| − | + | </div> | |
| − | + | ||
| − | + | <div style="flex:1 1 360px; min-width:300px; border:1px solid #C7DDF7; background:#FFFFFF;"> | |
| − | + | <div style="background:#D0E4FF; color:#1F4E79; font-weight:bold; padding:0.4em 0.6em; border-bottom:1px solid #C7DDF7;"> | |
| − | + | Byte Table Conversions <span style="font-weight:normal;">(Byte Table → Value)</span> | |
| − | + | </div> | |
| − | + | <ul style="margin:0.5em 0 0.6em 1.6em; padding:0;"> | |
| − | + | <li>[[Lua:byteTableToWord|byteTableToWord]]</li> | |
| − | + | <li>[[Lua:byteTableToDword|byteTableToDword]]</li> | |
| − | + | <li>[[Lua:byteTableToQword|byteTableToQword]]</li> | |
| − | + | <li>[[Lua:byteTableToFloat|byteTableToFloat]]</li> | |
| − | + | <li>[[Lua:byteTableToDouble|byteTableToDouble]]</li> | |
| − | + | <li>[[Lua:byteTableToString|byteTableToString]]</li> | |
| − | + | <li>[[Lua:byteTableToWideString|byteTableToWideString]]</li> | |
| − | + | </ul> | |
| − | + | </div> | |
| − | + | ||
| + | </div> | ||
| + | </div> | ||
Revision as of 20:30, 24 June 2026
Memory Access Related Lua Functions
Read Functions
Read Functions (Local Process)
Write Functions
Write Functions (Local Process)
Byte Table Conversions (Value → Byte Table)
Byte Table Conversions (Byte Table → Value)