File: XADDiskDoublerMethod2Handle.h

package info (click to toggle)
unar 1.1-2
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 6,664 kB
  • sloc: ansic: 52,939; objc: 39,563; cpp: 4,074; makefile: 99; perl: 10
file content (22 lines) | stat: -rw-r--r-- 426 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#import "CSByteStreamHandle.h"

@interface XADDiskDoublerMethod2Handle:CSByteStreamHandle
{
	int numtrees,currtree;

	struct
	{
		uint8_t parents[512];
		uint16_t leftchildren[256];
		uint16_t rightchildren[256];
	} trees[256];
}

-(id)initWithHandle:(CSHandle *)handle length:(off_t)length numberOfTrees:(int)num;

-(void)resetByteStream;
-(uint8_t)produceByteAtOffset:(off_t)pos;

-(void)updateStateForByte:(int)byte;

@end