/*** Used for entropy encoded sections, for now only Nikon Coolpix ***/ public BitPumpMSB32(ref TIFFBinaryReader s) { s.Read(buffer, (int)s.Position, (int)s.BaseStream.Length); size = (uint)(s.getRemainSize() + sizeof(UInt32)); MIN_GET_BITS = (BITS_PER_LONG_LONG - 33); init(); }
int MIN_GET_BITS;// = (BITS_PER_LONG - 7); /* max value for long getBuffer */ public BitPumpPlain(ref TIFFBinaryReader s) { MIN_GET_BITS = (BITS_PER_LONG - 7); s.Read(buffer, (int)s.Position, (int)s.BaseStream.Length); size = (uint)(8 * s.getRemainSize()); }