mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-12-05 17:11:09 +00:00
1.0 KiB
1.0 KiB
libSceJsc
add Functional
- WTF::Persistence::Coder::decode and Coder::decode (libSceJsc) - not compared with a console module. The
Decoderlayout (buffer, position, end; libSceNKWebKit's mirror has data, size, position) and theOptionallayout (flag at byte 0, pointer at byte 8, hidden return) are unverified. An emptyStringthrows throughNotImplemented_nid_no_patch(no static empty string here). A flag byte other than 0 or 1, a length aboveINT32_MAX, null arguments, a cursor of 64 or more, a position past the end and no libSceNKWebKit fastMalloc throw. They invert libSceNKWebKit's encoders, per pinned PersistentCoders.cpp: 32-bit length (salt 11),0xFFFFFFFFfor null, theString8-bit flag (salt 3), characters (salt 101); a short buffer givesnullopt. Closes when: compared with a console module.