cadencii.BITMAPINFOHEADER.readUInt16 C# (CSharp) Метод

readUInt16() приватный статический Метод

private static readUInt16 ( Stream fs ) : ushort
fs Stream
Результат ushort
        private static ushort readUInt16( Stream fs ){
            byte[] buf = new byte[2];
            fs.Read( buf, 0, 2 );
            return BitConverter.ToUInt16( buf, 0 );
        }