Ton.Cell (ton v0.5.1)
Cell data structure used in serialization and deserialization
Summary
Types
@type cell_kind() ::
:pruned | :library_reference | :merkle_proof | :merkle_update | :ordinary
@type t() :: %Ton.Cell{data: Ton.Bitstring.t(), kind: cell_kind(), refs: term()}
Functions
@spec new(atom(), Ton.Bitstring.t() | nil) :: t()
@spec parse(binary(), non_neg_integer()) :: {t(), binary()} | no_return()