Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Token

A class representing a token

Hierarchy

  • Token

Index

Properties

getBuffer

getBuffer: () => Uint8Array

The buffer that contains the token

Type declaration

    • (): Uint8Array
    • Returns Uint8Array

Optional Readonly header

header: HeaderType

The header information

Optional Readonly length

length: undefined | number

The number of bytes in the token

Readonly pos

pos: number

The position of the token in the buffer

Readonly type

type: tokens

The token type

Optional Readonly value

value: TokenValueType | undefined

The value contained in the token

Copyright © 2025 DiffusionData Ltd. All Rights Reserved.