Overview

DATEX

function getRandomString

getRandomString(
  template: string,
  charset: string
);

function getRandomInt

getRandomInt(
  min: any,
  max: number
):  number;

function 

();

function 

();

function urlToPath

urlToPath(
  url: URL
);

function arrayBufferToBase64

arrayBufferToBase64(
  buffer: ArrayBuffer
):  string;

ArrayBuffer <-> Base64 String

function base64ToArrayBuffer

base64ToArrayBuffer(
  base64: string
):  ArrayBuffer;

function buffer2hex

buffer2hex(
  buffer: Uint8Array | ArrayBuffer,
  seperator?: string,
  pad_size_bytes?: number,
  x_shorthand: any
):  string;

function hex2buffer

hex2buffer(
  hex: string,
  pad_size_bytes?: number,
  x_shorthand: any
):  Uint8Array;

Constant btoa

type: any

Constant atob

type: any

Did this doc help you?

Privacy Policy

Help us improving our docs

Our documentations are fully open source. Something is wrong or unclear? Edit documentation.

Make a contribution