HexFiend: HFFileByteSlice.h Source File

HexFiend

HFFileByteSlice.h
Go to the documentation of this file.
1 //
2 // HFFileByteSlice.h
3 // HexFiend_2
4 //
5 // Copyright 2008 ridiculous_fish. All rights reserved.
6 //
7
8 #import <HexFiend/HFByteSlice.h>
9
10 @class HFFileReference;
11
17 @interface HFFileByteSlice : HFByteSlice {
18 HFFileReference *fileReference;
19 unsigned long long offset;
20 unsigned long long length;
21 }
22
24 - (instancetype)initWithFile:(HFFileReference *)file;
25
27 - (instancetype)initWithFile:(HFFileReference *)file offset:(unsigned long long)offset length:(unsigned long long)length;
28
29 @end
HFFileReference
A reference to an open file.
Definition: HFFileReference.h:19
-[HFByteSlice length]
unsigned long long length()
HFByteSlice
A class representing a source of data for an HFByteArray.
Definition: HFByteSlice.h:19
HFFileByteSlice
A subclass of HFByteSlice for working data stored in files.
Definition: HFFileByteSlice.h:17