Versions in this module Expand all Collapse all v2 v2.3.0 May 12, 2024 v2.2.0 Nov 4, 2023 Changes in this version + const BWTS_TYPE + const BWT_TYPE + const CR + const DICT_TYPE + const EXE_TYPE + const LF + const LZP_TYPE + const LZX_TYPE + const LZ_TYPE + const MM_TYPE + const MTFT_TYPE + const NONE_TYPE + const PACK_TYPE + const RANK_TYPE + const RESERVED2 + const RESERVED3 + const RESERVED4 + const RESERVED5 + const RLT_TYPE + const ROLZX_TYPE + const ROLZ_TYPE + const SBRT_MODE_MTF + const SBRT_MODE_RANK + const SBRT_MODE_TIMESTAMP + const SNAPPY_TYPE + const SRT_TYPE + const UTF_TYPE + const ZRLT_TYPE + func ComputeSuffixArray(data []int, sa []int, fs int, n int, k int, isbwt bool) uint + func GetBWTChunks(size int) int + func GetName(functionType uint64) (string, error) + func GetType(name string) (uint64, error) + type AliasCodec struct + func NewAliasCodec() (*AliasCodec, error) + func NewAliasCodecWithCtx(ctx *map[string]interface{}) (*AliasCodec, error) + func (this *AliasCodec) Forward(src, dst []byte) (uint, uint, error) + func (this *AliasCodec) Inverse(src, dst []byte) (uint, uint, error) + func (this AliasCodec) MaxEncodedLen(srcLen int) int + type BWT struct + func NewBWT() (*BWT, error) + func NewBWTWithCtx(ctx *map[string]interface{}) (*BWT, error) + func (this *BWT) Forward(src, dst []byte) (uint, uint, error) + func (this *BWT) Inverse(src, dst []byte) (uint, uint, error) + func (this *BWT) PrimaryIndex(n int) uint + func (this *BWT) SetPrimaryIndex(n int, primaryIndex uint) bool + func (this BWT) MaxEncodedLen(srcLen int) int + type BWTBlockCodec struct + func NewBWTBlockCodec() (*BWTBlockCodec, error) + func NewBWTBlockCodecWithCtx(ctx *map[string]interface{}) (*BWTBlockCodec, error) + func (this *BWTBlockCodec) Forward(src, dst []byte) (uint, uint, error) + func (this *BWTBlockCodec) Inverse(src, dst []byte) (uint, uint, error) + func (this BWTBlockCodec) MaxEncodedLen(srcLen int) int + type BWTS struct + func NewBWTS() (*BWTS, error) + func NewBWTSWithCtx(ctx *map[string]interface{}) (*BWTS, error) + func (this *BWTS) Forward(src, dst []byte) (uint, uint, error) + func (this *BWTS) Inverse(src, dst []byte) (uint, uint, error) + func (this BWTS) MaxEncodedLen(srcLen int) int + type ByteTransformSequence struct + func New(ctx *map[string]interface{}, functionType uint64) (*ByteTransformSequence, error) + func NewByteTransformSequence(transforms []kanzi.ByteTransform) (*ByteTransformSequence, error) + func (this *ByteTransformSequence) Forward(src, dst []byte) (uint, uint, error) + func (this *ByteTransformSequence) Inverse(src, dst []byte) (uint, uint, error) + func (this *ByteTransformSequence) Len() int + func (this *ByteTransformSequence) SetSkipFlags(flags byte) bool + func (this *ByteTransformSequence) SkipFlags() byte + func (this ByteTransformSequence) MaxEncodedLen(srcLen int) int + type DivSufSort struct + func NewDivSufSort() (*DivSufSort, error) + func (this *DivSufSort) ComputeBWT(src, dst []byte, bwt []int32, indexes []uint, idxCount int) int32 + func (this *DivSufSort) ComputeSuffixArray(src []byte, sa []int32) + type EXECodec struct + func NewEXECodec() (*EXECodec, error) + func NewEXECodecWithCtx(ctx *map[string]interface{}) (*EXECodec, error) + func (this *EXECodec) Forward(src, dst []byte) (uint, uint, error) + func (this *EXECodec) Inverse(src, dst []byte) (uint, uint, error) + func (this EXECodec) MaxEncodedLen(srcLen int) int + type FSDCodec struct + func NewFSDCodec() (*FSDCodec, error) + func NewFSDCodecWithCtx(ctx *map[string]interface{}) (*FSDCodec, error) + func (this *FSDCodec) Forward(src, dst []byte) (uint, uint, error) + func (this *FSDCodec) Inverse(src, dst []byte) (uint, uint, error) + func (this *FSDCodec) MaxEncodedLen(srcLen int) int + type LZCodec struct + func NewLZCodec() (*LZCodec, error) + func NewLZCodecWithCtx(ctx *map[string]interface{}) (*LZCodec, error) + func (this *LZCodec) Forward(src, dst []byte) (uint, uint, error) + func (this *LZCodec) Inverse(src, dst []byte) (uint, uint, error) + func (this *LZCodec) MaxEncodedLen(srcLen int) int + type LZPCodec struct + func NewLZPCodec() (*LZPCodec, error) + func NewLZPCodecWithCtx(ctx *map[string]interface{}) (*LZPCodec, error) + func (this *LZPCodec) Forward(src, dst []byte) (uint, uint, error) + func (this *LZPCodec) Inverse(src, dst []byte) (uint, uint, error) + func (this LZPCodec) MaxEncodedLen(srcLen int) int + type LZXCodec struct + func NewLZXCodec() (*LZXCodec, error) + func NewLZXCodecWithCtx(ctx *map[string]interface{}) (*LZXCodec, error) + func (this *LZXCodec) Forward(src, dst []byte) (uint, uint, error) + func (this *LZXCodec) Inverse(src, dst []byte) (uint, uint, error) + func (this LZXCodec) MaxEncodedLen(srcLen int) int + type NullTransform struct + func NewNullTransform() (*NullTransform, error) + func NewNullTransformWithCtx(ctx *map[string]interface{}) (*NullTransform, error) + func (this *NullTransform) Forward(src, dst []byte) (uint, uint, error) + func (this *NullTransform) Inverse(src, dst []byte) (uint, uint, error) + func (this NullTransform) MaxEncodedLen(srcLen int) int + type RLT struct + func NewRLT() (*RLT, error) + func NewRLTWithCtx(ctx *map[string]interface{}) (*RLT, error) + func (this *RLT) Forward(src, dst []byte) (uint, uint, error) + func (this *RLT) Inverse(src, dst []byte) (uint, uint, error) + func (this RLT) MaxEncodedLen(srcLen int) int + type ROLZCodec struct + func NewROLZCodec(logPosChecks uint) (*ROLZCodec, error) + func NewROLZCodecWithCtx(ctx *map[string]interface{}) (*ROLZCodec, error) + func NewROLZCodecWithFlag(extra bool) (*ROLZCodec, error) + func (this *ROLZCodec) Forward(src, dst []byte) (uint, uint, error) + func (this *ROLZCodec) Inverse(src, dst []byte) (uint, uint, error) + func (this *ROLZCodec) MaxEncodedLen(srcLen int) int + type SBRT struct + func NewSBRT(mode int) (*SBRT, error) + func NewSBRTWithCtx(ctx *map[string]interface{}) (*SBRT, error) + func (this *SBRT) Forward(src, dst []byte) (uint, uint, error) + func (this *SBRT) Inverse(src, dst []byte) (uint, uint, error) + func (this SBRT) MaxEncodedLen(srcLen int) int + type SRT struct + func NewSRT() (*SRT, error) + func NewSRTWithCtx(ctx *map[string]interface{}) (*SRT, error) + func (this *SRT) Forward(src, dst []byte) (uint, uint, error) + func (this *SRT) Inverse(src, dst []byte) (uint, uint, error) + func (this SRT) MaxEncodedLen(srcLen int) int + type TextCodec struct + func NewTextCodec() (*TextCodec, error) + func NewTextCodecWithCtx(ctx *map[string]interface{}) (*TextCodec, error) + func (this *TextCodec) Forward(src, dst []byte) (uint, uint, error) + func (this *TextCodec) Inverse(src, dst []byte) (uint, uint, error) + func (this *TextCodec) MaxEncodedLen(srcLen int) int + type UTFCodec struct + func NewUTFCodec() (*UTFCodec, error) + func NewUTFCodecWithCtx(ctx *map[string]interface{}) (*UTFCodec, error) + func (this *UTFCodec) Forward(src, dst []byte) (uint, uint, error) + func (this *UTFCodec) Inverse(src, dst []byte) (uint, uint, error) + func (this UTFCodec) MaxEncodedLen(srcLen int) int + type ZRLT struct + func NewZRLT() (*ZRLT, error) + func NewZRLTWithCtx(ctx *map[string]interface{}) (*ZRLT, error) + func (this *ZRLT) Forward(src, dst []byte) (uint, uint, error) + func (this *ZRLT) Inverse(src, dst []byte) (uint, uint, error) + func (this ZRLT) MaxEncodedLen(srcLen int) int Other modules containing this package github.com/flanglet/kanzi-go