
以前 tachiyomi 生成的备份文件是 json 。
现在换成了 proto 我使用 protobufjs 读取文件报错。
var protobuf = require("protobufjs"); const root = protobuf.loadSync("./3.proto"); console.log(root);
备份文件密码:ct05
1 AoEiuV020CN 2022 年 4 月 2 日 记得有 gzip 压缩, |
2 AoEiuV020CN 2022 年 4 月 2 日 刚看了下代码,是先 kotlin.Protobuf 序列化再 gzip 压缩,看这情况估计要用非 kotlin 解码会比较麻烦, 起码得自己研究做个 kotlin 一样的 protobuf 配置, |
3 shadows 2022 年 4 月 2 日 OP 是打算读取数据做什么事?说不定可以不需要这种方式? |
4 bztwh OP |