View Source vdist_fragment_header (erldist_filter v1.1.0)

Link to this section Summary

Link to this section Types

-type t() :: #vdist_fragment_header{}.

Link to this section Functions

-spec encode_header(T) -> binary() when T :: t().
Link to this function

new(SequenceId, FragmentId, NumberOfAtomCacheRefs, AtomCacheRefEntries, LongAtoms)

View Source
-spec new(SequenceId, FragmentId, NumberOfAtomCacheRefs, AtomCacheRefEntries, LongAtoms) -> T
       when
           SequenceId :: vdist:sequence_id(),
           FragmentId :: vdist:fragment_id(),
           NumberOfAtomCacheRefs :: vterm:u8(),
           AtomCacheRefEntries :: [vdist:atom_cache_ref_entry()],
           LongAtoms :: boolean(),
           T :: t().
Link to this function

new_from_atom_cache_map(SequenceId, FragmentId, CacheMap)

View Source
-spec new_from_atom_cache_map(SequenceId, FragmentId, CacheMap) -> T
                           when
                               SequenceId :: vdist:sequence_id(),
                               FragmentId :: vdist:fragment_id(),
                               CacheMap :: vdist_atom_cache_map:t(),
                               T :: t().
Link to this function

update_atom_cache(T, Cache)

View Source
-spec update_atom_cache(T, Cache) -> {ok, Cache, Table}
                     when
                         T :: t(),
                         Cache :: vdist_atom_cache:t() | undefined,
                         Table :: vdist_atom_translation_table:t().