cadencii.BITMAPINFOHEADER.readUInt16 C# (CSharp) Method

readUInt16() private static method

private static readUInt16 ( Stream fs ) : ushort
fs Stream
return ushort
        private static ushort readUInt16( Stream fs ){
            byte[] buf = new byte[2];
            fs.Read( buf, 0, 2 );
            return BitConverter.ToUInt16( buf, 0 );
        }