mirror of
https://github.com/wismna/ModernKeePass.git
synced 2025-10-03 23:50:18 -04:00
WIP Lib version 2.39.1
This commit is contained in:
@@ -496,11 +496,21 @@ namespace ModernKeePassLib.Utility
|
||||
return UInt32ToBytes((uint)iValue);
|
||||
}
|
||||
|
||||
public static void Int32ToBytesEx(int iValue, byte[] pb, int iOffset)
|
||||
{
|
||||
UInt32ToBytesEx((uint)iValue, pb, iOffset);
|
||||
}
|
||||
|
||||
public static byte[] Int64ToBytes(long lValue)
|
||||
{
|
||||
return UInt64ToBytes((ulong)lValue);
|
||||
}
|
||||
|
||||
public static void Int64ToBytesEx(long lValue, byte[] pb, int iOffset)
|
||||
{
|
||||
UInt64ToBytesEx((ulong)lValue, pb, iOffset);
|
||||
}
|
||||
|
||||
public static uint RotateLeft32(uint u, int nBits)
|
||||
{
|
||||
return ((u << nBits) | (u >> (32 - nBits)));
|
||||
|
Reference in New Issue
Block a user