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

writeIntOK() private method

private writeIntOK ( int value ) : bool
value int
return bool
        private bool writeIntOK(int value)
        {
            byte[] cp = new byte[4];
            cp[0] = (byte)value;
            cp[1] = (byte)(value >> 8);
            cp[2] = (byte)(value >> 16);
            cp[3] = (byte)(value >> 24);

            return writeOK(cp, 0, 4);
        }
Tiff