using System.Runtime.InteropServices;
using System.Buffers.Binary;
public static void Main()
int cipherInt = MemoryMarshal.Read<ushort>(cipher);
Console.WriteLine(cipherInt);
int reversedEndianess = BinaryPrimitives.ReverseEndianness(cipherInt);
Console.WriteLine(reversedEndianess);
Console.WriteLine(reversedEndianess % 0x0a0a);