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

readShort() static private method

static private readShort ( byte buffer, int offset ) : short
buffer byte
offset int
return short
        internal static short readShort(byte[] buffer, int offset)
        {
            short value = (short)(buffer[offset] & 0xFF);
            value += (short)((buffer[offset + 1] & 0xFF) << 8);
            return value;
        }
Tiff