Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • DataView

Index

Methods

getBigInt64

  • getBigInt64(byteOffset: number, littleEndian?: boolean): bigint
  • Gets the BigInt64 value at the specified byte offset from the start of the view. There is no alignment constraint; multi-byte values may be fetched from any offset.

    Parameters

    • byteOffset: number

      The place in the buffer at which the value should be retrieved.

    • Optional littleEndian: boolean

    Returns bigint

getBigUint64

  • getBigUint64(byteOffset: number, littleEndian?: boolean): bigint
  • Gets the BigUint64 value at the specified byte offset from the start of the view. There is no alignment constraint; multi-byte values may be fetched from any offset.

    Parameters

    • byteOffset: number

      The place in the buffer at which the value should be retrieved.

    • Optional littleEndian: boolean

    Returns bigint

setBigInt64

  • setBigInt64(byteOffset: number, value: bigint, littleEndian?: boolean): void
  • Stores a BigInt64 value at the specified byte offset from the start of the view.

    Parameters

    • byteOffset: number

      The place in the buffer at which the value should be set.

    • value: bigint

      The value to set.

    • Optional littleEndian: boolean

      If false or undefined, a big-endian value should be written, otherwise a little-endian value should be written.

    Returns void

setBigUint64

  • setBigUint64(byteOffset: number, value: bigint, littleEndian?: boolean): void
  • Stores a BigUint64 value at the specified byte offset from the start of the view.

    Parameters

    • byteOffset: number

      The place in the buffer at which the value should be set.

    • value: bigint

      The value to set.

    • Optional littleEndian: boolean

      If false or undefined, a big-endian value should be written, otherwise a little-endian value should be written.

    Returns void

Generated using TypeDoc