{
    "Function": "_stringToBytes128",
    "File": "src/gateway/Messages.sol",
    "Parent Contracts": [],
    "High-Level Calls": [],
    "Internal Calls": [],
    "Library Calls": [],
    "Low-Level Calls": [],
    "Code": "function _stringToBytes128(string memory source) internal pure returns (bytes memory) {\n        bytes memory temp = bytes(source);\n        bytes memory result = new bytes(128);\n\n        for (uint256 i = 0; i < 128; i++) {\n            if (i < temp.length) {\n                result[i] = temp[i];\n            } else {\n                result[i] = 0x00;\n            }\n        }\n\n        return result;\n    }"
}