HexFiend
Instance Methods | List of all members
HFBTreeByteArray Class Reference

The principal efficient implementation of HFByteArray. More...

Inheritance diagram for HFBTreeByteArray:
HFByteArray

Instance Methods

(instancetype) - init
 
- Instance Methods inherited from HFByteArray
(HFByteRangeAttributeArray *) - attributesForBytesInRange:
 
(HFByteRangeAttributeArray *) - byteRangeAttributeArray
 
(BOOL) - writeToFile:trackingProgress:error:
 
(NSArray *) - rangesOfFileModifiedIfSavedToFile:
 
(BOOL) - clearDependenciesOnRanges:inFile:hint:
 
(instancetype) - initWithByteSlice:
 
(instancetype) - initWithByteArray:
 
(unsigned long long) - length
 
(void) - copyBytes:range:
 
(NSArray *) - byteSlices
 
(NSEnumerator *) - byteSliceEnumerator
 
(HFByteSlice *) - sliceContainingByteAtIndex:beginningOffset:
 
(void) - insertByteSlice:inRange:
 
(void) - insertByteArray:inRange:
 
(void) - deleteBytesInRange:
 
(HFByteArray *) - subarrayWithRange:
 
(void) - incrementChangeLockCounter
 
(void) - decrementChangeLockCounter
 
(BOOL) - changesAreLocked
 
(void) - incrementGenerationOrRaiseIfLockedForSelector:
 
(NSUInteger) - changeGenerationCount
 
(unsigned long long) - indexOfBytesEqualToBytes:inRange:searchingForwards:trackingProgress:
 

Detailed Description

HFBTreeByteArray is an efficient subclass of HFByteArray that stores HFByteSlices, using a 10-way B+ tree. This allows for insertion, deletion, and searching in approximately log-base-10 time.

Create an HFBTreeByteArray via -init. It has no methods other than those on HFByteArray.

Method Documentation

§ init()

- (instancetype) init

Designated initializer for HFBTreeByteArray.


The documentation for this class was generated from the following file: