Zheng Li
Zheng Li
I use cached to check whether a key exist in the past 2 seconds, and I write an unit test, but it doesn't works. ```rust #[cfg(test)] mod tests { use...
frida handler:print *NSString ```javascript var data = new ObjC.Object(args[2]); log(data); ``` 使用 frida 进行 Hook ```bash frida-trace -m "-[QRCodeTlv_22 *]" QQ ``` 版本:[version.rs](https://github.com/lz1998/ricq/blob/a1215097b818fd276fb7b7da72d85827ba824ab2/ricq-core/src/protocol/version.rs#L97)
增加批量踢人 API
经过测试,1600好友+400群,占用内存85MB,可以考虑把 好友列表、群列表、群成员列表 放在磁盘 提供 interface 参数,允许自定义存储方式,使用磁盘、Redis等方式,保存 好友列表、群列表、群成员列表 ```golang type Storage interface { Get(key []byte) ([]byte, error) Put(key, value []byte) error } ```
在代码中搜索正则表达式`\d\.\d\.\d`,发现有很多不同版本QQ - 8.4.18 - 8.2.7 - 8.4.5 - 8.5.0 - 8.2.0

https://serde.rs/enum-representations.html#adjacently-tagged `{"t": "Str", "c": "the string"}` ➝ `{"t": 1, "c": "the string"}` `{"t": "Para", "c": [{...}, {...}]}` ➝ `{"t": 2, "c": [{...}, {...}]}` ```rust #[derive(Serialize, Deserialize)] #[serde(tag = "t", content...
"invalid string value: data is not UTF-8 encoded" Some characters is invalid, but I think it's not important. Some users may submit invalid utf-8 character, and I can't avoid it.
Add [FreeType2](https://docs.opencv.org/master/d9/dfa/classcv_1_1freetype_1_1FreeType2.html).
I want to translate images in a pdf. After translation, the images will be the same size, but I don't know how to replace them.