Crates.io | atlv |
lib.rs | atlv |
version | 0.7.0 |
source | src |
created_at | 2022-11-11 19:12:16.846162 |
updated_at | 2023-11-13 04:18:38.854436 |
description | Algebraic Tag Length Value encoding |
homepage | |
repository | https://gitlab.com/adapt/atlv-rust |
max_upload_size | |
id | 713000 |
size | 49,048 |
atlv
is a generic binary data encoding
that preserves the data's leaf-spine structure
while providing customizable tags and dictating minimal semantics.
value: quant | binary | union | array
quant: tag…00(vlq) (vlq)
binary: tag…01(vlq) len(vlq) byte[len]
union: tag…10(vlq) value
array: tag…11(vlq) len(vlq) value[len]
vlq: 0xxxxxxx | 1xxxxxxx vlq
byte: xxxxxxxx
tag: xxxxx | xxxxxxx tag
This repository contains a Rust crate for encoding, decoding, and generally manipulating atlv
data.