Skip to content

AljoschaMeyer/stlv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

STLV

Simple Type-Length-Value

Stlv is a binary encoding for type-length-value. The type is an unsigned 64 bit integer, the value can have a length of up to 2^64 - 1 bytes.

The binary encoding is defined as the concatenation of:

  • the type, encoded as a VarU64
  • the length of the value, encoded as a VarU64
  • the value itself

A canonic stlv uses canonic VarU64s.

That's it. There's nothing fancy here, it just needs to be defined somewhere.

About

A simple type-length-value encoding.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published