Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "utils"

Index

Variables

Functions

Variables

Const BASE32

BASE32: "0123456789bcdefghjkmnpqrstuvwxyz" = "0123456789bcdefghjkmnpqrstuvwxyz"

Functions

base32

  • base32(value: number): string
  • Get Base 32 symbol from decimal chunk (5 bit binary value).

    Parameters

    • value: number

      Decimal value of chunk (5 bit binary value).

    Returns string

    Base 32 value.

decimalChunk

  • decimalChunk(value: string): number
  • Get decimal chunk (5 bit binary value) from Base 32 character.

    Parameters

    • value: string

      Base 32 character.

    Returns number

    Decimal value of chunk (5 bit binary value).

toRad

  • toRad(degrees: number): number
  • Get radians from degrees.

    Parameters

    • degrees: number

      Degrees.

    Returns number

    Radians.

Generated using TypeDoc