sinch-rtc
Version:
RTC JavaScript/Web SDK
24 lines (23 loc) • 518 B
TypeScript
/**
* Helper functions and generators concerning strings
*/
export declare class StringHelper {
/**
* Creates random string of given length
* @param b - bytes number
*/
static random(b?: number): string;
/**
* Returns HEX encoded string
* @param s - string to encode
*/
static hexEncode(s: string): string;
/**
* Generates random UUID
*/
static UUID(): string;
/**
* Generates random ULID
*/
static ULID(seedTime?: number): string;
}