{
    "Function": "writeString",
    "File": "contracts/src/vendor/forge-std/src/safeconsole.sol",
    "Parent Contracts": [],
    "High-Level Calls": [],
    "Internal Calls": [
        "byte(uint256,uint256)",
        "mstore(uint256,uint256)",
        "mstore(uint256,uint256)"
    ],
    "Library Calls": [],
    "Low-Level Calls": [],
    "Code": "function writeString(pos, w) {\n                let length := 0\n                for {} lt(length, 0x20) { length := add(length, 1) } { if iszero(byte(length, w)) { break } }\n                mstore(pos, length)\n                let shift := sub(256, shl(3, length))\n                mstore(add(pos, 0x20), shl(shift, shr(shift, w)))\n            }"
}