Skip to main content

DataStoreStringUtils

Utility methods to validate strings which can be used to attack datastores in a string saving attack otherwise.

Functions

isValidUTF8

DataStoreStringUtils.isValidUTF8(strstring) → boolean

Checks to see if a string can be stored in the datastore

Show raw api
{
    "functions": [
        {
            "name": "isValidUTF8",
            "desc": "Checks to see if a string can be stored in the datastore",
            "params": [
                {
                    "name": "str",
                    "desc": "",
                    "lua_type": "string"
                }
            ],
            "returns": [
                {
                    "desc": "",
                    "lua_type": "boolean"
                }
            ],
            "function_type": "static",
            "source": {
                "line": 15,
                "path": "src/datastore/src/Shared/Utility/DataStoreStringUtils.lua"
            }
        }
    ],
    "properties": [],
    "types": [],
    "name": "DataStoreStringUtils",
    "desc": "Utility methods to validate strings which can be used to attack datastores in a string saving attack otherwise.",
    "source": {
        "line": 6,
        "path": "src/datastore/src/Shared/Utility/DataStoreStringUtils.lua"
    }
}