Org.BouncyCastle.Crypto.Engines.RC532Engine.WordToBytes C# (CSharp) 메소드

WordToBytes() 개인적인 메소드

private WordToBytes ( int word, byte dst, int dstOff ) : void
word int
dst byte
dstOff int
리턴 void
        private void WordToBytes(
            int    word,
            byte[]  dst,
            int     dstOff)
        {
            dst[dstOff] = (byte)word;
            dst[dstOff + 1] = (byte)(word >> 8);
            dst[dstOff + 2] = (byte)(word >> 16);
            dst[dstOff + 3] = (byte)(word >> 24);
        }
    }