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

ByteArrayToInts() public static method

Converts a byte buffer into array of 32-bit values.
public static ByteArrayToInts ( byte buffer, int offset, int count ) : int[]
buffer byte The byte buffer.
offset int The zero-based offset in at /// which to begin converting bytes.
count int The number of bytes to convert.
return int[]
        public static int[] ByteArrayToInts(byte[] buffer, int offset, int count)
        {
            int intCount = count / sizeof(int);
            int[] integers = new int[intCount];
            Buffer.BlockCopy(buffer, offset, integers, 0, intCount * sizeof(int));
            return integers;
        }
Tiff