Class: Omnizip::Algorithms::Zstandard::FSE::State

Inherits:
Struct
  • Object
show all
Defined in:
lib/omnizip/algorithms/zstandard/fse/table.rb

Overview

FSE state entry for decoding table

Each entry contains:

  • symbol: The symbol this state decodes to
  • num_bits: Number of bits to read for next state
  • baseline: Value to add to next state's value

Instance Attribute Summary collapse

Instance Attribute Details

#baselineObject

Returns the value of attribute baseline

Returns:

  • (Object)

    the current value of baseline



33
34
35
# File 'lib/omnizip/algorithms/zstandard/fse/table.rb', line 33

def baseline
  @baseline
end

#num_bitsObject

Returns the value of attribute num_bits

Returns:

  • (Object)

    the current value of num_bits



33
34
35
# File 'lib/omnizip/algorithms/zstandard/fse/table.rb', line 33

def num_bits
  @num_bits
end

#symbolObject

Returns the value of attribute symbol

Returns:

  • (Object)

    the current value of symbol



33
34
35
# File 'lib/omnizip/algorithms/zstandard/fse/table.rb', line 33

def symbol
  @symbol
end