BitMiracle.LibTiff.Classic.Tiff.IntsToByteArray C# (CSharp) Method

IntsToByteArray() public static method

Converts array of 32-bit values into array of bytes.
public static IntsToByteArray ( int source, int srcOffset, int srcCount, byte bytes, int offset ) : void
source int The array of 32-bit values.
srcOffset int The zero-based offset in at /// which to begin converting bytes.
srcCount int The number of 32-bit values to convert.
bytes byte The byte array to store converted values at.
offset int The zero-based offset in at /// which to begin storing converted values.
return void
        public static void IntsToByteArray(int[] source, int srcOffset, int srcCount, byte[] bytes, int offset)
        {
            Buffer.BlockCopy(source, srcOffset * sizeof(int), bytes, offset, srcCount * sizeof(int));
        }
Tiff