去除u8区的高区操作功能

This commit is contained in:
algotao
2025-09-09 11:03:25 +08:00
parent fff023b56d
commit fade72885f
8 changed files with 369 additions and 216 deletions

View File

@@ -236,11 +236,7 @@ func convertBatch(lines []string, convertParams convertParams, resultChan chan<-
saasWriteItem.WriteBytes = &saasapi.Bytes{}
}
saasWriteItem.WriteBytes.Bytes = append(saasWriteItem.WriteBytes.Bytes, *targetinfo.WriteByte)
if targetinfo.WriteBytePos < 64 {
saasWriteItem.WriteBytes.Index_1 |= 1 << targetinfo.WriteBytePos
} else if targetinfo.WriteBytePos < 128 {
saasWriteItem.WriteBytes.Index_2 |= 1 << (targetinfo.WriteBytePos - 64)
}
saasWriteItem.WriteBytes.Index_1 |= 1 << targetinfo.WriteBytePos
}
if targetinfo.WriteUint32 != nil {