Skip to content

Commit

Permalink
修复解析边界问题
Browse files Browse the repository at this point in the history
修复解析边界问题
  • Loading branch information
zengjiale2 committed Jan 21, 2025
1 parent aec702b commit d9ddb6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion yyevac/src/main/java/com/yy/yyeva/EvaAnimConfigManager.kt
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ class EvaAnimConfigManager(var playerEva: EvaAnimPlayer) {
}
} else {
if (readBytesLast.isNotEmpty()) {
bufStrS = String(readBytes + readBytesLast)
bufStrS = String(readBytesLast + readBytes)
var indexS = bufStrS.indexOf(matchStart)
if (indexS > 0) { //合并分段找到匹配开头
jsonStr = bufStrS.substring(indexS + matchStart.length)
Expand Down

0 comments on commit d9ddb6e

Please sign in to comment.