Hierarchy

  • ByteArray

Index

Constructors

constructor

  • new ByteArray(size?: number, byteArray?: number[]): ByteArray
  • Parameters

    • Default value size: number = 0
    • Default value byteArray: number[] = null

    Returns ByteArray

Methods

appendByte

  • appendByte(value: number): void
  • Parameters

    • value: number

    Returns void

at

  • at(index: number): number
  • Parameters

    • index: number

    Returns number

isEmpty

  • isEmpty(): boolean
  • Returns boolean

reserve

  • reserve(capacity: number): void
  • Parameters

    • capacity: number

    Returns void

set

  • set(index: number, value: number): void
  • Parameters

    • index: number
    • value: number

    Returns void

set1

  • set1(source: number[], offset: number, count: number): void
  • Parameters

    • source: number[]
    • offset: number
    • count: number

    Returns void

size

  • size(): number
  • Returns number

Generated using TypeDoc