{
    "Function": "ref",
    "File": "contracts/contracts/nomad-core/libs/TypedMemView.sol",
    "Parent Contracts": [],
    "High-Level Calls": [],
    "Internal Calls": [
        "build"
    ],
    "Library Calls": [],
    "Low-Level Calls": [],
    "Code": "function ref(bytes memory arr, uint40 newType) internal pure returns (bytes29) {\n    uint256 _len = arr.length;\n\n    uint256 _loc;\n    assembly {\n      // solhint-disable-previous-line no-inline-assembly\n      _loc := add(arr, 0x20) // our view is of the data, not the struct\n    }\n\n    return build(newType, _loc, _len);\n  }"
}