typeDefDecode method
LayoutDecodeResult
typeDefDecode({
- required PortableRegistry registry,
- required List<
int> bytes, - required int offset,
Decodes the data based on the type definition using the provided registry
and bytes
.
Implementation
@override
LayoutDecodeResult typeDefDecode(
{required PortableRegistry registry,
required List<int> bytes,
required int offset}) {
final layout = SubstrateBitSequenceLayout();
return SubstrateSerialization.deserialize(
bytes: bytes, layout: layout, offset: offset);
}