(mPtr)
| 8935 | const readUInt64 = (value) => alloc(2).writePointer(value).readU64(); |
| 8936 | exports.readUInt64 = readUInt64; |
| 8937 | const readU16 = (mPtr) => { |
| 8938 | if (typeof mPtr == "number") |
| 8939 | mPtr = ptr(mPtr); |
| 8940 | if (mPtr == undefined || mPtr == ptr(0)) |
| 8941 | return ""; |
| 8942 | try { |
| 8943 | return mPtr.add(p_size * 2 + 4).readUtf16String(); |
| 8944 | } |
| 8945 | catch { |
| 8946 | return ""; |
| 8947 | } |
| 8948 | }; |
| 8949 | exports.readU16 = readU16; |
| 8950 | const showArray = (mPtr, funcTransform) => { |
| 8951 | if (typeof mPtr == "number") |
no outgoing calls
no test coverage detected