Пример #1
0
 public BitPumpJPEG(ImageBinaryReader reader, uint offset, uint count)
 {
     MIN_GET_BITS = (BITS_PER_LONG - 7);
     size         = (uint)(reader.RemainingSize + sizeof(uint));
     buffer       = new byte[size];
     reader.BaseStream.Position = offset;
     reader.Read(buffer, 0, (int)reader.RemainingSize);
     Init();
 }