Decoding Module

Types

Type Description

Chara

Functions and values

Function or value Description

build cnt0 pairs

Full Usage: build cnt0 pairs

Parameters:
    cnt0 : int
    pairs : (int * B list) list

Returns: int * HTree
cnt0 : int
pairs : (int * B list) list
Returns: int * HTree

construct decoder

Full Usage: construct decoder

Parameters:
Returns: Way256
decoder : HTree
Returns: Way256

dec wbuf rbuf len

Full Usage: dec wbuf rbuf len

Parameters:
wbuf : MemoryStream
rbuf : MemoryStream
len : int

decode buf size rbuf len

Full Usage: decode buf size rbuf len

Parameters:
Returns: byte array
buf : byte array
size : 'a
rbuf : MemoryStream
len : int
Returns: byte array

eosInfo _arg1

Full Usage: eosInfo _arg1

Parameters:
Returns: int option
_arg1 : HTree
Returns: int option

flatten decoder

Full Usage: flatten decoder

Parameters:
Returns: HTree list
decoder : HTree
Returns: HTree list

idxEos

Full Usage: idxEos

Returns: int
Returns: int

inc a w

Full Usage: inc a w

Parameters:
Returns: Chara
a : Chara
w : byte
Returns: Chara

mark i bs t

Full Usage: mark i bs t

Parameters:
    i : int
    bs : B list
    t : HTree

Returns: HTree
i : int
bs : B list
t : HTree
Returns: HTree

next arg1 w

Full Usage: next arg1 w

Parameters:
Returns: Pin
arg0 : WayStep
w : int
Returns: Pin

partition p xs

Full Usage: partition p xs

Parameters:
    p : 'a -> bool
    xs : 'a list

Returns: 'a list * 'a list
p : 'a -> bool
xs : 'a list
Returns: 'a list * 'a list

step root t char bss

Full Usage: step root t char bss

Parameters:
Returns: Pin
root : HTree
t : HTree
char : Chara
bss : Bits
Returns: Pin

toHTree bs

Full Usage: toHTree bs

Parameters:
Returns: HTree
bs : Bits list
Returns: HTree

way256

Full Usage: way256

Returns: Way256
Returns: Way256