Files
node-metaverse/dist/classes/Utils.d.ts

18 lines
893 B
TypeScript

/// <reference types="node" />
/// <reference types="long" />
import * as Long from 'long';
export declare class Utils {
static StringToBuffer(str: string): Buffer;
static BufferToStringSimple(buf: Buffer, startPos?: number): string;
static BufferToString(buf: Buffer, startPos?: number): {
readLength: number;
result: string;
};
static RegionCoordinatesToHandle(regionX: number, regionY: number): Long;
static HTTPAssetTypeToInventoryType(HTTPAssetType: string): "" | "script" | "texture" | "sound" | "animation" | "gesture" | "landmark" | "callcard" | "wearable" | "object" | "notecard" | "category" | "mesh";
static UInt16ToFloat(val: number, lower: number, upper: number): number;
static Base64EncodeString(str: string): string;
static Base64DecodeString(str: string): string;
static HexToLong(hex: string): Long;
}