Exemplo n.º 1
0
		internal void Crc32(CRC32 @out, long pos, int cnt)
		{
			@out.Update(array, (int)(pos - start), cnt);
		}
		internal ObjectDirectoryPackParser(FileObjectDatabase odb, InputStream src) : base
			(odb, src)
		{
			this.db = odb;
			this.crc = new CRC32();
			this.tailDigest = Constants.NewMessageDigest();
			indexVersion = db.GetConfig().Get(CoreConfig.KEY).GetPackIndexVersion();
		}