Public Member Functions | |
(id) | - initWithFile: |
(id) | - initWithFile:offset:length: |
- (id) initWithFile: | (HFFileReference *) | file |
Initialize an HFByteSlice from a file. The receiver represents the entire extent of the file.
- (id) 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.