Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • ReportReassembler

Index

Constructors

constructor

Properties

Private currentReport

currentReport: ArrayBuffer

Private errors

errors: Transposition[]

Private header

Private originalSignature

originalSignature: ArrayBuffer

Private sigCalculator

sigCalculator: SHA256Calculator

Methods

Private calculateSignature

  • calculateSignature(): ArrayBuffer

Private checkSignature

  • checkSignature(prefix?: undefined | number): boolean

Private decodeChunk

Private dumpChunk

  • dumpChunk(index: number): string

Private extractLatest

  • extractLatest(chunk: DecodedChunk): [number, number, number]

Private fillChunk

  • fillChunk(chunk: DecodedChunk, lastStream: number | null, lastTS: number | null, lastID: number | null): void

Private findCandidates

  • findCandidates(startI: number, totalChunks: number, offset: number, lastStream: number | null, lastTS: number | null, lastID: number | null): DecodedChunk[]

fixOutOfOrderChunks

  • fixOutOfOrderChunks(): boolean

getFixedReport

  • getFixedReport(): ArrayBuffer

getTranspositions

isValid

  • isValid(): boolean

Private maskChunk

Private moveChunk

  • moveChunk(destIndex: number, srcIndex: number): void

Private sortCandidates

Private validateChunk

  • validateChunk(chunk: DecodedChunk, lastStream: number | null, lastTS: number | null, lastID: number | null): boolean

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc