Options
All
  • Public
  • Public/Protected
  • All
Menu

The most common conversion utilities to convert the data from a simple type to another one.
To convert complex classes or structures, use SerializationUtils class.


This is a static class, so no instance needs to be created.
Usage example:

var ns = org_turbocommons_utils;

var result1 = ns.ConversionUtils.stringToBase64('hello');
var result2 = ns.ConversionUtils.base64ToString('somebase64text');
...

Hierarchy

  • ConversionUtils

Index

Methods

Static base64ToString

  • base64ToString(string: string): string

Static stringToBase64

  • stringToBase64(string: string): string

Generated using TypeDoc