String parser for step, note we don't do an exact check here, we wait for z

Hierarchy (View Summary)

Constructors

Properties

Methods

Constructors

Properties

Instance: default = ...

Methods

  • Parameters

    • input: Uint8Array
    • cursor: number
    • endCursor: number
    • codePage: number = 0

    Returns undefined | string

  • Match a STEP string

    Parameters

    • input: Uint8Array

      The input buffer.

    • cursor: number

      The offset in the input buffer where the string may be.

    • endCursor: number

      The end point of the parse which should not be overflowed.

    Returns undefined | number

    The matching string value or undefined if none matches or the parse fails.