Difference between revisions of "Lua:readString"
Jump to navigation
Jump to search
Line 23: | Line 23: | ||
== See also == | == See also == | ||
+ | * [[Lua]] | ||
+ | * [[Help_File:Script engine|Script engine]] | ||
+ | |||
+ | === Related Functions === | ||
* [[readBytes]] | * [[readBytes]] | ||
* [[readInteger]] | * [[readInteger]] | ||
+ | * [[readQword]] | ||
+ | * [[readPointer]] | ||
* [[readFloat]] | * [[readFloat]] | ||
* [[readDouble]] | * [[readDouble]] | ||
− | * [[ | + | * [[writeBytes]] |
+ | * [[writeInteger]] | ||
+ | * [[writeQword]] | ||
+ | * [[writeFloat]] | ||
+ | * [[writeDouble]] | ||
+ | * [[writeString]] | ||
+ | * [[readBytesLocal]] | ||
+ | * [[readIntegerLocal]] | ||
+ | * [[readQwordLocal]] | ||
+ | * [[readPointerLocal]] | ||
+ | * [[readFloatLocal]] | ||
+ | * [[readDoubleLocal]] | ||
+ | * [[readStringLocal]] | ||
+ | * [[writeBytesLocal]] | ||
+ | * [[writeIntegerLocal]] | ||
+ | * [[writeQwordLocal]] | ||
+ | * [[writeFloatLocal]] | ||
+ | * [[writeDoubleLocal]] | ||
+ | * [[writeStringLocal]] | ||
+ | * [[wordToByteTable]] | ||
+ | * [[dwordToByteTable]] | ||
+ | * [[qwordToByteTable]] | ||
+ | * [[floatToByteTable]] | ||
+ | * [[doubleToByteTable]] | ||
+ | * [[stringToByteTable]] | ||
+ | * [[wideStringToByteTable]] | ||
+ | * [[byteTableToWord]] | ||
+ | * [[byteTableToDword]] | ||
+ | * [[byteTableToQword]] | ||
+ | * [[byteTableToFloat]] | ||
+ | * [[byteTableToDouble]] | ||
+ | * [[byteTableToString]] | ||
+ | * [[byteTableToWideString]] |
Revision as of 15:22, 8 March 2017
function readString(Address, Maxlength, isWideString)
Reads the bytes 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
Related Functions
- readBytes
- readInteger
- readQword
- readPointer
- readFloat
- readDouble
- writeBytes
- writeInteger
- writeQword
- writeFloat
- writeDouble
- writeString
- readBytesLocal
- readIntegerLocal
- readQwordLocal
- readPointerLocal
- readFloatLocal
- readDoubleLocal
- readStringLocal
- writeBytesLocal
- writeIntegerLocal
- writeQwordLocal
- writeFloatLocal
- writeDoubleLocal
- writeStringLocal
- wordToByteTable
- dwordToByteTable
- qwordToByteTable
- floatToByteTable
- doubleToByteTable
- stringToByteTable
- wideStringToByteTable
- byteTableToWord
- byteTableToDword
- byteTableToQword
- byteTableToFloat
- byteTableToDouble
- byteTableToString
- byteTableToWideString