Anton, Thank you for pointing out HashFunction.
Actually 1c hash functions implementation is quite confusing, because there are HashAlgorithm and it is a part of CryptoManager that does not have good documentation.
And HashFunction is part of DataHashing. It is quite easy to be confused which one is part of which package.
Yulya, I understand why 1c still not implemented bitshift functions. There is no Word, int, dword data types. But still there are quite a lot of examples where I need to read some files with bit masking. Current implementation makes this process quite painful.. look at this code:
Function Mask(Byte, ByteMask)
MaskNumber = NumberFromBinaryString(ByteMask);
InputBuffer = BufferFromByte(Byte);
MaskBuffer = BufferFromByte(MaskNumber);
Buffer = New BinaryDataBuffer(1);
Buffer = Byte;
CurByte = DataReader.ReadByte();
CurNumber = CurNumber * 128 + Mask(CurByte, "0b01111111");
If 0=Mask(CurByte, "0b10000000") Then
This is not easy to read code...