ascent.encode
Encoding methods for data in Ascent
ascent.encode.base64()
ascent.encode.b64(input:string) : string;Parameter
Type
Description
Examples
let encoded = ascent.encode.b64("Username");
console.log(encoded) // VXNlcm5hbWU=ascent.encode.gzip()
ascent.encode.gzip(input: string): string;Parameter
Type
Description
ascent.encode.uri()
Parameter
Type
Description
ascent.encode.hex
Parameter
Type
Description
ascent.encode.flatten()
Function
Description
Examples
Last updated
Was this helpful?