View Source vdist_normal_header (erldist_filter v1.1.0)
Link to this section Summary
Link to this section Types
-type t() :: #vdist_normal_header{}.
Link to this section Functions
-spec encode_header(T) -> binary() when T :: t().
-spec encode_header_flag(Entry) -> bitstring() when Entry :: vdist:atom_cache_ref_entry().
-spec encode_header_flags(Entries, LongAtoms, PrevFlags) -> NextFlags when Entries :: [vdist:atom_cache_ref_entry()], LongAtoms :: boolean(), PrevFlags :: bitstring(), NextFlags :: bitstring().
-spec encode_header_long_atoms(LongAtoms) -> bitstring() when LongAtoms :: boolean().
-spec encode_header_reference(Entry, LongAtoms) -> bitstring() when Entry :: vdist:atom_cache_ref_entry(), LongAtoms :: boolean().
-spec encode_header_references(Entries, LongAtoms, PrevReferences) -> NextReferences when Entries :: [vdist:atom_cache_ref_entry()], LongAtoms :: boolean(), PrevReferences :: bitstring(), NextReferences :: bitstring().
-spec new(NumberOfAtomCacheRefs, AtomCacheRefEntries, LongAtoms) -> T when NumberOfAtomCacheRefs :: vterm:u8(), AtomCacheRefEntries :: [vdist:atom_cache_ref_entry()], LongAtoms :: boolean(), T :: t().
-spec new_from_atom_cache_map(CacheMap) -> T when CacheMap :: vdist_atom_cache_map:t(), T :: t().
-spec update_atom_cache(Header, Cache) -> {ok, Cache, Table} | {error, not_found} when Header :: t(), Cache :: vdist_atom_cache:t(), Table :: vdist_atom_translation_table:t().