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().
Link to this function

encode_header_flag(Entry)

View Source
-spec encode_header_flag(Entry) -> bitstring() when Entry :: vdist:atom_cache_ref_entry().
Link to this function

encode_header_flags(Entries, LongAtoms, PrevFlags)

View Source
-spec encode_header_flags(Entries, LongAtoms, PrevFlags) -> NextFlags
                       when
                           Entries :: [vdist:atom_cache_ref_entry()],
                           LongAtoms :: boolean(),
                           PrevFlags :: bitstring(),
                           NextFlags :: bitstring().
Link to this function

encode_header_long_atoms(LongAtoms)

View Source
-spec encode_header_long_atoms(LongAtoms) -> bitstring() when LongAtoms :: boolean().
Link to this function

encode_header_reference(Entry, LongAtoms)

View Source
-spec encode_header_reference(Entry, LongAtoms) -> bitstring()
                           when Entry :: vdist:atom_cache_ref_entry(), LongAtoms :: boolean().
Link to this function

encode_header_references(Entries, LongAtoms, PrevReferences)

View Source
-spec encode_header_references(Entries, LongAtoms, PrevReferences) -> NextReferences
                            when
                                Entries :: [vdist:atom_cache_ref_entry()],
                                LongAtoms :: boolean(),
                                PrevReferences :: bitstring(),
                                NextReferences :: bitstring().
Link to this function

new(NumberOfAtomCacheRefs, AtomCacheRefEntries, LongAtoms)

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

new_from_atom_cache_map(CacheMap)

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

update_atom_cache(Header, Cache)

View Source
-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().