Skip to main content

Module typed_data

Module typed_data 

Source
Expand description

Typed data format

Utilities for combinding data with types into a single serialized buffer.

It is serialized with the following schema:

type TypedData: {ty: ir::Ty, ty_defs: [ir::TyDef], data: [uint8]}

Functionsยง

data_offset
decode
encode