Skip to content

EncodeSSZ

Performs ssz encoding according to the specification. Almost all zig types are supported.

Caller owns the memory

Signature

pub fn encodeSSZ(allocator: Allocator, value: anytype) Allocator.Error![]u8