Crates.io | klever-sc-codec |
lib.rs | klever-sc-codec |
version | 0.18.1 |
source | src |
created_at | 2024-03-29 00:22:16.714752 |
updated_at | 2024-03-29 00:22:16.714752 |
description | Lightweight binary serializer/deserializer, written especially for Klever smart contracts |
homepage | https://klever.io/ |
repository | https://github.com/klever-io/klever-vm-sdk-rs |
max_upload_size | |
id | 1189533 |
size | 143,811 |
Lightweight binary serializer/deserializer, written especially for Klever smart contracts.
Designed to:
Largely inspired by the Parity SCALE codec, but a completely different format and implementation.
For more info about the serialization format, see the developer reference.
Being designed for Klever smart contracts, it needs to be able to run in a no-std environment.
It is also safe to run in a regular std environment.
The types provided by default all work without an allocator. To use an allocator, pass feature flag "alloc".