chore: HERV 통합 저장소 재초기화 커밋
손상된 .git 히스토리(missing tree)로 재초기화 후 작업트리 전체 커밋. .claude/ 만 제외(로컬 에이전트 설정). 구 저장소 백업(.git_corrupt_backup/) 포함. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
namespace ERVSimulator.Protocol
|
||||
{
|
||||
public static class ChecksumHelper
|
||||
{
|
||||
public static byte Xor(byte[] data, int start, int length)
|
||||
{
|
||||
byte x = 0;
|
||||
for (int i = 0; i < length; i++) x ^= data[start + i];
|
||||
return x;
|
||||
}
|
||||
|
||||
public static byte Add(byte[] data, int start, int length)
|
||||
{
|
||||
int s = 0;
|
||||
for (int i = 0; i < length; i++) s += data[start + i];
|
||||
return (byte)(s & 0xFF);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user