Namespace FastBWT
public abstract class ADesorter
This class is an abstract BWT Desorter.
Methods
public abstract byte[] Desort(byte[] SourceBlock, long StartIndex, byte[] TargetBlock = null, long DataSize = 0)
Desort SourceBlock to TargetBlock. This method internally generates desorting vector and fills the TargetBlock.
public abstract ICollection GenerateVector(byte[] SourceBytes, ICollection Vector = null, long DataSize = 0)
Calculate desorting vector based on SourceBytes.
Static Methods
public static void FillDesortedBlock(byte[] SourceBlock, long StartIndex, byte[] TargetBlock, Array Vector, long DataSize = 0)
Apply desorting vector on SourceBlock to fill the TargetBlock.
Remarks
The actual type of Array depends on desorter class. BWT_Small_Desorter uses uint[].
See also
ADesorter.GenerateVector method