engin0223 6c54bdeb6e Refactor Thrift serialization and deserialization operations
- Moved binary and compact protocol parsing logic from ThriftDeserialize and ThriftSerialize classes to utility functions in Thrift.mjs.
- Updated ThriftDeserialize to use new parseBinaryProtocol and parseCompactProtocol functions.
- Simplified ThriftSerialize by utilizing buildBinaryStruct and writeValue functions for serialization.
- Added comprehensive tests for Thrift serialization and deserialization, covering various data types and structures.
- Ensured proper handling of edge cases in readVarint and fromZigZag functions.
2026-06-05 14:15:30 +03:00
..