Options
All
  • Public
  • Public/Protected
  • All
Menu

@dfinity/candid

Index

Type aliases

JsonValue: boolean | string | number | JsonArray | JsonObject

Functions

  • concat(...buffers: ArrayBuffer[]): ArrayBuffer
  • fromHexString(hexString: string): ArrayBuffer
  • idlLabelToId(label: string): number
  • lebEncode(value: number | bigint): ArrayBuffer
  • Encode a positive number (or bigint) into a Buffer. The number will be floored to the nearest integer.

    Parameters

    • value: number | bigint

      The number to encode.

    Returns ArrayBuffer

  • renderInput(t: Type<any>): InputBox
  • renderValue(t: Type<any>, input: InputBox, value: any): void
  • slebEncode(value: number | bigint): ArrayBuffer
  • Encode a number (or bigint) into a Buffer, with support for negative numbers. The number will be floored to the nearest integer.

    Parameters

    • value: number | bigint

      The number to encode.

    Returns ArrayBuffer

  • toHexString(bytes: ArrayBuffer): string
  • writeIntLE(value: number | bigint, byteLength: number): ArrayBuffer
  • writeUIntLE(value: number | bigint, byteLength: number): ArrayBuffer

Generated using TypeDoc