mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-30 05:15:59 +02:00
Emit marker fixes - idSpan fix, persistent opening, specialized squiggle
This commit is contained in:
parent
bbd0fe8779
commit
866bddde2e
17 changed files with 237 additions and 65 deletions
|
@ -3,6 +3,7 @@ using System.Collections;
|
|||
using System.Diagnostics;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Security.Cryptography;
|
||||
|
||||
namespace Beefy.utils
|
||||
{
|
||||
|
@ -1061,7 +1062,7 @@ namespace Beefy.utils
|
|||
|
||||
if (cmd == 0)
|
||||
{
|
||||
outString.Append("}");
|
||||
outString.AppendF($"}} EndIdx:{charIdx}");
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -1070,5 +1071,12 @@ namespace Beefy.utils
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
public int GetHashCode() mut
|
||||
{
|
||||
Prepare();
|
||||
var hash = MD5.Hash(.(mData, 0, mLength));
|
||||
return *(int*)&hash;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue