Options
All
  • Public
  • Public/Protected
  • All
Menu

Class MemoryBuffer

Hierarchy

  • MemoryBuffer

Index

Constructors

constructor

  • Parameters

    • size: number

    Returns MemoryBuffer

Properties

Readonly address

address: bigint

Readonly size

size: number

Methods

byte

  • byte(offset: number): number
  • Parameters

    • offset: number

    Returns number

double

  • double(offset: number): number
  • Parameters

    • offset: number

    Returns number

float

  • float(offset: number): number
  • Parameters

    • offset: number

    Returns number

free

  • free(): boolean
  • Returns boolean

int

  • int(offset: number): number
  • Parameters

    • offset: number

    Returns number

long

  • long(offset: number): bigint
  • Parameters

    • offset: number

    Returns bigint

short

  • short(offset: number): number
  • Parameters

    • offset: number

    Returns number

string

  • string(offset: number, length: number): string
  • Parameters

    • offset: number
    • length: number

    Returns string

ubyte

  • ubyte(offset: number): number
  • Parameters

    • offset: number

    Returns number

uint

  • uint(offset: number): number
  • Parameters

    • offset: number

    Returns number

ulong

  • ulong(offset: number): bigint
  • Parameters

    • offset: number

    Returns bigint

ushort

  • ushort(offset: number): number
  • Parameters

    • offset: number

    Returns number