Lua:readString
Revision as of 00:02, 25 January 2018 by TheyCallMeTim13 (talk | contribs) (moved readString to Lua:readString)
function readString(Address, Maxlength, isWideString) : string
Reads the bytes at the given address and interprets them as a string
Function Parameters
| Parameter | Type | Description |
|---|---|---|
| Address | CEAddressString or Integer | The address to read |
| Maxlength | Integer | The maximum number of characters to read. If the string does not have a 0-terminator this will be the length of the string returned |
| isWideString | Boolean | Determines if this string is read out as a widestring or a normal ascii string |
See also
| Lua |
| Script Engine |
Related Functions
| Read Functions |
|---|
| readBytes |
| readSmallInteger |
| readInteger |
| readQword |
| readPointer |
| readFloat |
| readDouble |
| readString |
| Read Functions (Local Process) |
| readBytesLocal |
| readIntegerLocal |
| readQwordLocal |
| readPointerLocal |
| readFloatLocal |
| readDoubleLocal |
| readStringLocal |
| Write Functions |
| writeBytes |
| writeSmallInteger |
| writeInteger |
| writeQword |
| writeFloat |
| writeDouble |
| writeString |
| Write Functions (Local Process) |
| writeBytesLocal |
| writeIntegerLocal |
| writeQwordLocal |
| writeFloatLocal |
| writeDoubleLocal |
| writeStringLocal |
| Byte Table Conversions (Value → Byte Table) |
| wordToByteTable |
| dwordToByteTable |
| qwordToByteTable |
| floatToByteTable |
| doubleToByteTable |
| stringToByteTable |
| wideStringToByteTable |
| Byte Table Conversions (Byte Table → Value) |
| byteTableToWord |
| byteTableToDword |
| byteTableToQword |
| byteTableToFloat |
| byteTableToDouble |
| byteTableToString |
| byteTableToWideString |