Baconography.NeutralServices.KitaroDB.UsageStatistics.GenerateCombinedDomainKeyspace C# (CSharp) Method

GenerateCombinedDomainKeyspace() private method

private GenerateCombinedDomainKeyspace ( uint hash, uint links, uint comments ) : byte[]
hash uint
links uint
comments uint
return byte[]
        private byte[] GenerateCombinedDomainKeyspace(uint hash, uint links, uint comments)
        {
            var keyspace = new byte[DomainKeySpaceSize];
            BitConverter.GetBytes(hash).CopyTo(keyspace, 0);
            BitConverter.GetBytes(links).CopyTo(keyspace, DomainHashKeySpaceSize);
            BitConverter.GetBytes(comments).CopyTo(keyspace, DomainHashKeySpaceSize + 4);

            return keyspace;
        }