File: XADStuffItXIronHandle.h

package info (click to toggle)
unar 1.10.1-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster
  • size: 20,844 kB
  • ctags: 7,130
  • sloc: ansic: 56,529; objc: 50,000; cpp: 4,075; makefile: 108; sh: 37; perl: 10
file content (24 lines) | stat: -rw-r--r-- 517 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#import "CSBlockStreamHandle.h"

@interface XADStuffItXIronHandle:CSBlockStreamHandle
{
	uint8_t *block,*sorted;
	uint32_t *table;
	size_t currsize;

	int st4transform,fancymtf;

	unsigned int maxfreq1,maxfreq2,maxfreq3;
	unsigned int byteshift1,byteshift2,byteshift3;
	unsigned int countshift1,countshift2,countshift3;
}

-(id)initWithHandle:(CSHandle *)handle length:(off_t)length;
-(void)dealloc;

-(void)resetBlockStream;
-(int)produceBlockAtOffset:(off_t)pos;

-(void)decodeBlockWithLength:(int)blocksize;

@end