Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Codeword

The class containing 8-bit value and indices information

Hierarchy

Constructors

Protected constructor

  • Create a new Codeword instance

    Parameters

    • value: number

      The 8-bit value represented by an integer

    Returns Codeword

Properties

Protected block_index

block_index: number = -1

The index of a block in an array of blocks

Protected index

index: number = -1

The index in a block

Protected post_interleave_index

post_interleave_index: number = -1

The index through all blocks after interleaving

Protected pre_interleave_index

pre_interleave_index: number = -1

The index through all blocks before interleaving

Protected Readonly value

value: number

The 8-bit value

Methods

getValue

  • getValue(): number
  • Return the 8-bit value

    Returns number

setBlockIndex

  • setBlockIndex(value: number): void
  • Set the index of a block

    Parameters

    • value: number

      The index of a block

    Returns void

setIndex

  • setIndex(value: number): void
  • Set the index of itself in a block

    Parameters

    • value: number

      The index of itself

    Returns void

setPostInterleaveIndex

  • setPostInterleaveIndex(value: number): void
  • Set the index of itself through all blocks after interleaving

    Parameters

    • value: number

      The index through all blocks after interleaving

    Returns void

setPreInterleaveIndex

  • setPreInterleaveIndex(value: number): void
  • Set the index of itself through all blocks before interleaving

    Parameters

    • value: number

      The index through all blocks before interleaving

    Returns void

Generated using TypeDoc