Crate binary_sv2[][src]

Re-exports

pub use binary_codec_sv2;

Modules

decodable
encodable

Structs

CVec
CVec2
Seq064K

The liftime is here only for type compatibility with serde-sv2

Seq0255

The liftime is here only for type compatibility with serde-sv2

U24

Enums

EncodableField
Error

Traits

Decodable

Implmented by all the decodable structure, it can be derived for every structure composed only by primitives or other Decodable.

Deserialize

Implmented by all the decodable structure, it can be derived for every structure composed only by primitives or other Decodable.

Encodable
GetSize

Return the encodec byte size of an Encodable coommprensive of the header if any

Serialize
SizeHint

Return the encoded byte size od a Decodable

Functions

_c_export_u24
free_vec
free_vec_2
from_bytes
to_bytes
to_writer

Type Definitions

B016M
B064K
B0255
Bytes
PubKey
Signature
Str0255
U256

Derive Macros

Deserialize
Serialize