Version

1.0.0

Since

1.0.5

Hierarchy

  • BitString

Constructors

  • Returns BitString

  • Parameters

    • initialValue: number

    Returns BitString

  • Parameters

    Returns BitString

  • Parameters

    • initialValue: string

    Returns BitString

  • Parameters

    • initialValue: string
    • radix: number

    Returns BitString

  • Parameters

    Returns BitString

Accessors

  • get HEX(): string
  • Returns string

  • get Length(): number
  • Returns number

Methods

  • Returns boolean

  • Parameters

    Returns boolean

  • Since

    1.1.20

    Version

    2019-04-01

    Parameters

    • offset: number
    • defaultVal: boolean = false

    Returns boolean

  • Parameters

    • n: number
    • bits: number = 64

    Returns BitString

  • Parameters

    • n: number

    Returns BitString

  • Since

    1.1.20

    Version

    2019-04-01

    Returns BitString

  • Parameters

    • Optional bits: number

    Returns BitString

  • Parameters

    • n: number
    • bits: number = 64

    Returns BitString

  • Parameters

    • n: number

    Returns BitString

  • Set some bit

    Parameters

    • offset: number

      right to left, start from 1

    • val: boolean

      true or false

    Returns BitString

  • Parameters

    • bits: number

    Returns BitString

  • Parameters

    • bytes: number = 8

    Returns BitString

  • Parameters

    • Optional bits: number

    Returns number[]

  • Returns number

  • Parameters

    Returns string

  • Parameters

    • Rest ...bytes: number[]

    Returns BitString

  • Parameters

    • x: number
    • y: number

    Returns BitString[][]

Generated using TypeDoc