Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Variables

charToNibble

charToNibble: object

Type declaration

  • [key: string]: number

i

i: any

nibbleToChar

nibbleToChar: string[] = []

Functions

byteArrayToBigInteger

  • byteArrayToBigInteger(bytes: Array<number>, opt_startIndex?: number): BigJS
  • Parameters

    • bytes: Array<number>
    • Optional opt_startIndex: number

    Returns BigJS

byteArrayToHexString

  • byteArrayToHexString(bytes: Array<number>): string

byteArrayToShortArray

  • byteArrayToShortArray(byteArray: Array<number>): Array<number>
  • Parameters

    • byteArray: Array<number>

    Returns Array<number>

byteArrayToSignedInt32

  • byteArrayToSignedInt32(bytes: Array<number>, opt_startIndex?: number): number
  • Parameters

    • bytes: Array<number>
    • Optional opt_startIndex: number

    Returns number

byteArrayToSignedShort

  • byteArrayToSignedShort(bytes: Array<number>, opt_startIndex?: number): any
  • Parameters

    • bytes: Array<number>
    • Optional opt_startIndex: number

    Returns any

byteArrayToString

  • byteArrayToString(bytes: Array<number>, opt_startIndex?: any, length?: any): string
  • Parameters

    • bytes: Array<number>
    • Optional opt_startIndex: any
    • Optional length: any

    Returns string

byteArrayToWordArray

  • byteArrayToWordArray(byteArray: Array<number>): IWordArray

checkBytesToIntInput

  • checkBytesToIntInput(bytes: Array<number>, numBytes: number, opt_startIndex?: number): number
  • Parameters

    • bytes: Array<number>
    • numBytes: number
    • Optional opt_startIndex: number

    Returns number

escape

  • escape(s: string): string

hexStringToByteArray

  • hexStringToByteArray(str: string): Array<number>

hexStringToString

  • hexStringToString(hex: string): string

int32ToBytes

  • int32ToBytes(x: number, opt_bigEndian: boolean): number[]
  • Parameters

    • x: number
    • opt_bigEndian: boolean

    Returns number[]

intToBytes_

  • intToBytes_(x: number, numBytes: number, unsignedMax: number, opt_bigEndian: boolean): Array<number>
  • Produces an array of the specified number of bytes to represent the integer value. Default output encodes ints in little endian format. Handles signed as well as unsigned integers. Due to limitations in JavaScript's number format, x cannot be a true 64 bit integer (8 bytes).

    Parameters

    • x: number
    • numBytes: number
    • unsignedMax: number
    • opt_bigEndian: boolean

    Returns Array<number>

shortArrayToByteArray

  • shortArrayToByteArray(shortArray: Array<number>): Array<number>
  • Parameters

    • shortArray: Array<number>

    Returns Array<number>

shortArrayToHexString

  • shortArrayToHexString(ary: Array<number>): string

stringToByteArray

  • stringToByteArray(stringValue: string): Array<number>
  • Parameters

    • stringValue: string

    Returns Array<number>

stringToHexString

  • stringToHexString(str: string): string

unescape

  • unescape(s: string): string

wordArrayToByteArray

  • wordArrayToByteArray(wordArray: IWordArray): Array<number>

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc