@decentra/memory
TypeScript icon, indicating that this package has built-in type declarations

0.2.1 • Public • Published

Package for very basic memory manipulation for browser and node

Supported operations via concepts of memory fragments:

  • allocate of size
  • concat for 2 fragments
  • getting slice of fragment
  • checking memory fragment for equality
  • Encoding text to UTF8 fragments
  • Decoding UTF8 memory fragments to text
  • Encoding memory fragments to base64 text and back
  • Encoding memory fragments to base64url text and back

/@decentra/memory/

    Package Sidebar

    Install

    npm i @decentra/memory

    Weekly Downloads

    8

    Version

    0.2.1

    License

    MIT

    Unpacked Size

    31 kB

    Total Files

    20

    Last publish

    Collaborators

    • kote.isaev