simplicity-lang 0.7.0

General purpose library for processing Simplicity programs
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// SPDX-License-Identifier: CC0-1.0

//! The Simplicity Bit Encoding
//!
//! This module provides functionality to encode and decode Simplicity programs
//! and expresisons at rest and on the blockchain. For [`core::redeem::RedeemNode`]s,
//! this encoding matches the consensus encoding defined by the Simplicity Tech
//! Report.
//!

mod bititer;
mod bitwriter;
pub mod decode;
pub mod encode;

pub use bititer::{u2, BitCollector, BitIter, CloseError, EarlyEndOfStreamError};
pub use bitwriter::{write_to_vec, BitWriter};