Skip to content

ASCII85 a.k.a. Base85 implementation in JavaScript

License

Notifications You must be signed in to change notification settings

nE0sIghT/ascii85.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

ascii85.js

Introduction

ASCII85 a.k.a. Base85 implementation in JavaScript

Methods

encode(string text[, string charset = 'UTF-8'][, bool useEOD = true])

Return ASCII85 encoded string of text being in charset. Optionally enclose returned string to <~ and ~> chars when useEOD is true.

fromByteArray(Array byteArray[, useEOD = true])

Return ASCII85 encoded string of byteArray. Optionally enclose returned string to <~ and ~> chars when useEOD is true.

decode(string text[, string charset = 'UTF-8'])

Return string in charset of ASCII85 encoded text.

toByteArray(string text)

Return Uint8Array of ASCII85 encoded text.

License

MIT

About

ASCII85 a.k.a. Base85 implementation in JavaScript

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published