Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ListSizeData

Holds data about lists being transformed.

Hierarchy

  • ListSizeData

Index

Constructors

Properties

Methods

Constructors

constructor

  • new ListSizeData(size: number, sizeField: number): ListSizeData

Properties

remaining

remaining: number

The number of bytes remaining in the list to read.

total

total: number

The total number of bytes which should be read by this list.

Methods

consume

  • consume(bytes: number, pos: number): void
  • Consume some number of bytes in the list, updating the remaining bytes to read. @param {bytes} The number of bytes to consume. @param {pos} The curent position.

    Parameters

    • bytes: number
    • pos: number

    Returns void

Generated using TypeDoc