Skip to content

SSZDecodeErrors

Set of possible errors while performing ssz decoding.

Allocator.Error || error{ InvalidEnumType, IndexOutOfBounds }

DecodeSSZ

Performs ssz decoding according to the specification.

Signature

pub fn decodeSSZ(comptime T: type, serialized: []const u8) SSZDecodeErrors!T