![]() |
Murl Engine Lua Addon API
Version 1.0 beta
|
The ConstData object holds a pointer and size information to a read-only memory data location.
see also Data, BufferedData
The default constructor.
Murl.ConstData new()
Release the data, set data pointer to null and size to zero.
ReleaseData()
Check if the data object is empty.
Boolean IsEmpty()
Get the 32 bit byte size of the memory data location.
Integer GetByteSize32()
Get the byte size of the memory data location.
Integer GetByteSize()
Get a string from the memory data. (!) This method does not take care of zero termination.
String GetString()
Get a string from the memory data with length. (!) This method does not take care of zero termination.
String GetString(Integer length)
length | The length of the string. |
Calculate the data hash value.
Integer GetHashValue()
Equal to comparison operator with string.
Equal to comparison operator.