Goedel.Cryptography.Secret.GetBytes C# (CSharp) Method

GetBytes() private static method

private static GetBytes ( System.Numerics.BigInteger In ) : byte[]
In System.Numerics.BigInteger
return byte[]
        private static byte[] GetBytes(BigInteger In) {
            var Bytes = new byte[16];
            var Source = In.ToByteArray();
            int Length = Source.Length < 16 ? Source.Length : 16;
            Array.Copy(Source, Bytes, Length);
            return Bytes;

            }