cadencii.BITMAPINFOHEADER.readInt16 C# (CSharp) Method

readInt16() private static method

private static readInt16 ( Stream fs ) : short
fs Stream
return short
        private static short readInt16( Stream fs ){
            byte[] buf = new byte[2];
            fs.Read( buf, 0, 2 );
            return BitConverter.ToInt16( buf, 0 );
        }