Created
March 17, 2025 22:03
-
-
Save Albus/189129ec1ef6475156c42dc2696a73da to your computer and use it in GitHub Desktop.
Распаковка 1С-ного хранилища значения в python
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pattern: re.Pattern[str] = re.compile(r"\uFEFF{\S+\"(.*)\"}", re.DOTALL | re.UNICODE | re.IGNORECASE) | |
res = ujson.loads(pattern.search(zlib.decompress(self.message.deserialize(v)[18:], wbits=-zlib.MAX_WBITS).decode())[1]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment