Skip to content

interweb-it/jam-codec

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@interweb-it/jam-codec

TypeScript implementation of the JAM codec for binary serialization and deserialization. This library is based on @paritytech/jam-codec repository.

Installation

yarn add @interweb-it/jam-codec

Usage

import { encode, decode } from '@interweb-it/jam-codec';

// Encoding
const data = { foo: 'bar', baz: 42 };
const encoded = encode(data);

// Decoding
const decoded = decode(encoded);

Features

  • Binary serialization and deserialization
  • Type-safe encoding and decoding
  • Efficient variable-length integer encoding
  • Support for complex data structures

License

Apache-2.0

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published