Class Parser

This is a general purpose Parser assuming ascii names as property names. It falls back automatically to UTF8 when a UTF8 byte was found. This is way faster than BaseParser when property names are mainly ascii (which is usually the case).

Hierarchy

  • BaseParser
    • Parser

Constructors

Properties

buffer: Uint8Array
dataView: DataView
offset: number = 0
size: number

Methods

  • Parameters

    • elementType: number
    • Optional type: Type

    Returns any

  • Parameters

    • elementType: number
    • Optional type: Type

    Returns any

  • read the content without moving the parser offset.

    Parameters

    • elementType: number
    • Optional type: Type

    Returns any

  • Parameters

    • size: number

    Returns bigint

Generated using TypeDoc