|
HexFiend
|
A subclass of HFByteSlice for working data stored in files. More...
Instance Methods | |
| (instancetype) | - initWithFile: |
| (instancetype) | - initWithFile:offset:length: |
Instance Methods inherited from HFByteSlice | |
| (unsigned long long) | - length |
| (void) | - copyBytes:range: |
| (HFByteSlice *) | - subsliceWithRange: |
| (HFByteSlice *) | - byteSliceByAppendingSlice: |
| (BOOL) | - isSourcedFromFile |
| (HFRange) | - sourceRangeForFile: |
| (HFByteRangeAttributeArray *) | - attributesForBytesInRange: |
HFFileByteSlice is a subclass of HFByteSlice that represents a portion of data from a file. The file is specified as an HFFileReference; since the HFFileReference encapsulates the file descriptor, multiple HFFileByteSlices may all reference the same file without risking overrunning the limit on open files.
| - (instancetype) initWithFile: | (HFFileReference *) | file |
Initialize an HFByteSlice from a file. The receiver represents the entire extent of the file.
| - (instancetype) initWithFile: | (HFFileReference *) | file | |
| offset: | (unsigned long long) | offset | |
| length: | (unsigned long long) | length | |
Initialize an HFByteSlice from a portion of a file, specified as an offset and length. The sum of the offset and length must not exceed the length of the file. This is the designated initializer.
1.8.12