View Source vdist_header_decode (erldist_filter v1.28.5)

Summary

Types

-type header() ::
    #vdist_normal_header{number_of_atom_cache_refs :: vterm:u8(),
                         atom_cache_ref_entries :: [vdist:atom_cache_ref_entry()],
                         long_atoms :: boolean()} |
    #vdist_fragment_header{sequence_id :: vdist:sequence_id(),
                           fragment_id :: vdist:fragment_id(),
                           number_of_atom_cache_refs :: vterm:u8(),
                           atom_cache_ref_entries :: [vdist:atom_cache_ref_entry()],
                           long_atoms :: boolean()} |
    #vdist_fragment_cont{sequence_id :: vdist:sequence_id(), fragment_id :: vdist:fragment_id()} |
    #vdist_pass_through_header{}.

Functions

Link to this function

decode_header(EncodedHeader)

View Source
-spec decode_header(bitstring()) -> {ok, header(), bitstring()}.