Change length bytes to 3, add decode stuff

This commit is contained in:
Paul Hauner
2018-09-12 17:57:07 +10:00
parent dfae0acd06
commit e75905421d
5 changed files with 191 additions and 92 deletions

View File

@@ -12,7 +12,8 @@ extern crate ethereum_types;
mod encode;
mod decode;
mod impls;
mod impl_encode;
mod impl_decode;
pub use decode::{
Decodable,
@@ -24,4 +25,4 @@ pub use encode::{
SszStream,
};
pub const LENGTH_BYTES: usize = 4;
pub const LENGTH_BYTES: usize = 3;